Reputation: 7328
I have a table with two FK from same table. I have following query:
I am attaching an Image: please let me know the error.
Upvotes: 4
Views: 2650
Reputation: 15379
if you have created table Teams and Fixtures in the same session, Intellisense must be refreshed. If you have SQL error tell me and post your error.
P.S. use comma between two constraint rows
Upvotes: 2
Reputation: 25753
You have to put ,
char after 8th line as below
REFERENCES Teams(TeamID),
Upvotes: 2