Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
INDEX ON or REINDEX ?
Message
 
 
To
07/05/2003 11:52:02
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00785860
Message ID:
00785882
Views:
10
Hi Fabio,

There're equal in the end result which is a cursor w/o indexes. However they're different in the process.
INDEX ON a TAG ix_a
INDEX ON a TAG ix_a
will increase the size of index file because space occupied by deleted index isn't reused by VFP. In the second case there wouldn't be any space wasted in CDX file. See http://fox.wikis.com/wc.dll?Wiki~CDXBloat~VFP for more details.


>Hi
>
>These commands
>
>CREATE CURSOR tab1 (a I)
>INDEX ON a TAG ix_a
>INDEX ON a TAG ix_a
>DELETE TAG ix_a
>
>are equal with these ?
>
>CREATE CURSOR tab1 (a I)
>INDEX ON a TAG ix_a
>REINDEX
>DELETE TAG ix_a
>
>Fabio
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform