Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql foriegn key

ALTER TABLE Table_Name
ADD column_name Data_Type,
CONSTRAINT FK_Name FOREIGN KEY(column_name) 
   REFERENCES PK_Table_Name(PK_Column_Name);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #foriegn #key
ADD COMMENT
Topic
Name
6+8 =