Select from following answers:- ALTER TABLE Chassis.Maintenance ADD CONSTRAINT FK_HovercraftID FOREIGN KEY (HovercraftID) REFERENCES Chassis.Inventory (HovercraftID)
- ALTER TABLE Chassis.Maintenance ADD CONSTRAINT FK_HovercraftID PRIMARY (HovercraftID) REFERENCES Chassis.Inventory (HovercraftID)
- ALTER TABLE Maintenance.Chassis ADD CONSTRAINT FK_HovercraftID PRIMARY (HovercraftID) REFERENCES Inventory.Chassis (HovercraftID)
- All Above
You should use the ALTER TABLE Chassis.Maintenance ADD CONSTRAINT FK_HovercraftID FOREIGN KEY (HovercraftID) REFERENCES Chassis.Inventory (HovercraftID) statement. This statement creates the correct foreign key constraint between the HovercraftID column in the Chassis.Maintenance table and the HovercraftID column in the Chassis.Inventory table.
Show Correct Answer
Source: Microsoft Press book | |
Alert Moderator