Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary key
Message
De
18/10/2007 17:48:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01261997
Message ID:
01262009
Vues:
17
Hi Moises,

you need a command like this:
ALTER TABLE 'MyTable' ADD PRIMARY KEY <fieldname> TAG <tagname> COLLATE 'MACHINE'
so here's an actual line of code:
ALTER TABLE 'GENERATEPK' ADD PRIMARY KEY GPK_PK TAG GPK_PK COLLATE 'MACHINE'
For candidate keys:
INDEX ON UPPER(USR_LANID) TAG USR_LANID FOR .NOT.DELETED() CANDIDATE COLLATE 'MACHINE'
>How to create a primary or candidate KEY ?
>
>VFP help is not clear about this issue
>
>Moises
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform