Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alter Table Add Foreign Key Problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01515890
Message ID:
01515933
Views:
45
Don't worry about it, I was just kidding.

When you look at the help you will notice that REFERENCES is not optional, but I understand the text is a bit confusing.

Hugo

>Hi
>
>When reading the documentation it said
>
>
>ADD FOREIGN KEY [ eExpression5] TAG TagName4[FOR lExpression6] 
>Adds a foreign (non-primary) index to the table. The eExpression5 parameter specifies the foreign index key expression. The TagName4 parameter specifies the name of the foreign index tag. Index tag names can contain up to 10 characters.
>
>
>
>The phrase "(non-primary) index" is what caused me to think this might be possible so I apologize for the misleading subject. I was not certain from the start whether I had read the documentation correctly and so the reason for my question.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform