Re: reindexing DBF files
- From: "Peter" <NoSpam@xxxxxxxxxxxxxxxxx>
- Date: Wed, 18 May 2005 17:10:42 +0200
Hi,
Tquery means BDE. I' m trying to forget that something ugly and slow like
the BDE ever existed. In my last BDE-project the first thing I changed was
the use of the BDE (speed gain > 1000 %). Because of that, I can't tell you
SQL commands for reindexing DBF files via the BDE. I doubt that the normal
SQL syntax (create Index ... on ...) will work
IIRC the TTable class has properties like IndexDefs and IndexFiles. Creation
of indexes is part of CreateTable method. The BDE does not support all forms
of Dbase indexes (NDX, MDX are ok, while NTX and CDX are not).
Maybe I don't understand your problem correctly, because for an import into
a SQL server the indexes are not needed.
You can use the database explorer of the BDE to create and rebuild indexes.
What for do you need a SQL version command to reindex a database that is not
designed for use with SQL? It can't be just for your import function.
Peter
"Tonic" <tonic78PUTOSPAM@xxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:3f0chdF59c1gU1@xxxxxxxxxxxxxxxxx
> But I can do it in Delphi, using a TQuery?
> This is I'm triyng to do.
>
> Thanks,
> Tonic
>
> "Peter" <NoSpam@xxxxxxxxxxxxxxxxx> escribió en el mensaje
> news:d628cb$m53$00$1@xxxxxxxxxxxxxxxxxxxx
>> Hi Tonic,
>>
>> > I am trying to make a move all the information I have in dbf files to a
>> > Sql
>> > Server Database. So I want to reindex all the dbf tables first, but I
>> > don't
>> > know which sql command can do it. Can anyone help me?
>> > Thanks,
>> > Tonic
>>
>> Since Delphi does not offer native support for Dbase files, it depends on
>> the way you use thes files.
>>
>> For an import into a SQL server you don't need these files anyway. You
>> can
>> delete them before import. If you have Dbase or FoxPro you can use the
>> command Reindex within these programs. With Clipper or Visual Objects you
>> can use the included programs to reindex.
>>
>> HTH
>> Peter
>>
>>
>
>
.
- Follow-Ups:
- Re: reindexing DBF files
- From: Tonic
- Re: reindexing DBF files
- References:
- reindexing DBF files
- From: Tonic
- Re: reindexing DBF files
- From: Peter
- Re: reindexing DBF files
- From: Tonic
- reindexing DBF files
- Prev by Date: Db-library network communication layer not loaded
- Next by Date: How to assign real value to integer
- Previous by thread: Re: reindexing DBF files
- Next by thread: Re: reindexing DBF files
- Index(es):
Relevant Pages
|