Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing indexes programatically
Message
De
22/12/1998 05:40:00
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00169556
Message ID:
00169557
Vues:
22
>Hello All,
>I have a need to remove all index tags from my tables ( for performance reasons ) then reinstate them, I saw some code years ago that modified the header using low level functions,did something then set the header back as was, anyone have any ideas?
>
>Thanks
>Pete Kane

DELETE TAG ALL, is just about instantaneous for removing all index tags.

You'll have to re-create the indexes with new INDEX ON commands though.

Even if you had some way to 'magically' disconnect and reconnect the index file, you would still need to REINDEX the table after the procedure, so this would take the same amount of time as the strategy mentioned above.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform