SyntaxFix
Write A Post
Hire A Developer
Questions
If you are not using SSMS then here is the syntax:
ALTER TABLE <table_name> ADD <constraint_name> FOREIGN KEY (<column_name1> , <column_name2> ) REFERENCES <table_name> (<column_name1> , <column_name2>)
http://infogoal.com/sql/sql-add-foreignkey.htm