Question: What happens once the following command is executed? ALTER TABLE ORDERS ADD FOREIGN KEY ( CLIENT _ ID ) REFERENCES CLIENT ( CLIENT _ ID
What happens once the following command is executed?
ALTER TABLE ORDERS
ADD FOREIGN KEY CLIENTID REFERENCES CLIENT CLIENTID;
The DBMS will reject updates to the ORDERS table with CLIENTID values missing from the CLIENT table.
The DBMS will reject the insertion of rows that have different primary keys but are otherwise identical into the ORDERS table.
The DBMS will reject updates to the CLIENT table with CLIENTID values missing from the ORDERS table.
The DBMS will ensure that only legal values are entered into the CLIENTID column in the ORDERS table.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
