Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary Key in Views
Message
De
20/01/1999 10:51:37
 
 
À
20/01/1999 08:26:39
Carla Silva
Http - Produtos Informaticos, Lda.
Odivelas, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00177938
Message ID:
00178016
Vues:
39
>My application have Views, so I create a primary key in all the tables I use in views. Because I can`t create a primary key programatically, when this index is damage, I must remove the table from database to delete the primary key, do the "REINDEX" command, join the table again to the database, MODIFY STRUCTURE to create the primary key again, all this manually. So if I create a CANDIDATE index (is a primary key with a different name) with the INDEX ON command, the Views consider this as a primary key, if not, how can I recover the primary keys programatically ?
>
>Thanks


Look at the ALTER TABLE command for programmatic creation/deletion of primary key.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform