Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding existing index type
Message
De
05/07/1999 04:04:44
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Finding existing index type
Divers
Thread ID:
00237416
Message ID:
00237416
Vues:
49
Hi gang,

I've got a little "fix" program to apply updates to the client's databases, so that I don't have to go onsite just to make a teeny little change to a field/table.

One of the changes that I already applied was changing an index from a canditate index to regular index (by using ALTER TABLE ... DROP UNIQUE TAG ...) However, I now need to add another "fix" and would like to use the same program, skipping changes that have already been done (since I don't know if they have applied the fix yet ... I send them the EXEs and fixes, it's up to them to stick it on their servers).

The question is: how can I tell what the index type is? If I can tell that the index in the table in question has already been changed to a regular index, I obviously will not apply the "fix" a second time. I have not been able to find a command that can tell me that ... anybody know if there is one? If not, any suggestions as to how I can tell the index type so that I don't have to re-index unncessarily?

TIA,
Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform