Question: (a) ON DELETE RESTRICT i. When deleting a record from a parent table, in your own words, briefly describe the consequences of specifying ON DELETE
(a) ON DELETE RESTRICT i. When deleting a record from a parent table, in your own words, briefly describe the consequences of specifying ON DELETE RESTRICT on a foreign key in a child table. For example, describe what happens when trying to delete the record containing Penfolds, or the one containing Barrabool Hills. ii. When deleting a record from a parent table, in your own words, briefly describe the consequences of not specifying ON DELETE RESTRICT. (b) ON DELETE CASCADE i. When deleting a record from a parent table, in your own words, briefly describe the consequences of specifying ON DELETE CASCADE on a foreign key in a child table. For example, describe what happens when trying to delete the record containing Penfolds, or the one containing Barrabool Hills. ii. When deleting a record from a parent table, in your own words, briefly describe the consequences of not specifying ON DELETE CASCADE.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
