Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to define primary key programmatically
Message
 
 
À
08/10/2000 20:19:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00426689
Message ID:
00426692
Vues:
14
>How do you define programmatically the primary key of a table that was imported into the DBC?
>
>Don't find it in VFP help or here in UT.

See help on ALTER TABLE command. I;m not sure, but seems command in your case is following:

ALTER TABLE ALTER COLUMN IDKey PRIMARY KEY

HTH.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform