MCQ Answer

What is the purpose of the SQL CASCADE option in a foreign key constraint?

What is the purpose of the SQL CASCADE option in a foreign key constraint?

Topic : Database Fundamentals

A. Automatically updates the foreign key value in the child table if the referenced key is updated

B. Automatically deletes the foreign key value in the child table if the referenced key is deleted

C. Automatically inserts a new foreign key value in the child table if the referenced key is inserted

D. Automatically modifies the foreign key value in the child table if the referenced key is modified




Correct Answer is :

B. Automatically deletes the foreign key value in the child table if the referenced key is deleted



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad