Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where is the Syntax Error
Message
 
À
31/01/2008 13:44:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Divers
Thread ID:
01287604
Message ID:
01287821
Vues:
28
Hi

I guess then there is no way to use the Alter Table command to just create an additional index tag that is not related to any other table.

Thanks,
Simon

>>Hi
>>
>>I have been testing the Alter Table Command and it worked fine when I tried to create a candidate index tag but fails when I try to create a Foreign Key tag.
>>
>>I get a syntax error with following:
>>
>>Alter Table UPSystem Add Foreign Key Upper(Module+Name) Tag Name
>>
>>Where is the syntax error?
>
>You're missing the REFERENCES part of the ADD FOREIGN KEY clause that indicates what table it's a foreign key to.
>
>Tamar
Simon White
dCipher Computing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform