Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Add foreign key to existing table

ALTER TABLE message ADD FOREIGN KEY (sender) REFERENCES users;
Source by dba.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #Add #foreign #key #existing #table
ADD COMMENT
Topic
Name
8+8 =