Answers for "how do you define a foreign key after creating table"

SQL
4

add constraint fk

ALTER TABLE Orders
ADD CONSTRAINT FK_PersonOrder
FOREIGN KEY (PersonID) REFERENCES Persons(PersonID);
Posted by: Guest on September-02-2020

Code answers related to "how do you define a foreign key after creating table"

Code answers related to "SQL"

Browse Popular Code Answers by Language