1.

Which of the following foreign key constraint specifies that the deletion fails with an error?(a) NO ACTION(b) CASCADE(c) SET NULL(d) All of the mentionedThis question was posed to me during an online exam.My question is taken from Constraints topic in portion Manipulating Data with Select of SQL Server

Answer»

The correct answer is (a) NO ACTION

The best EXPLANATION: The ON UPDATE CLAUSE defines the ACTIONS that are taken if you try to update a candidate key value to which existing foreign keys point.



Discussion

No Comment Found

Related InterviewSolutions