QuestionQ156

VerifiedManaging Constraints

Examine the following SQL statements, which execute successfully:

Question Image

Which two statements are true after they execute?

Choose two
Explanation

A primary key defined without a deferrability clause is enforced in immediate mode. Disabling a primary key with CASCADE disables every dependent foreign key. Re-enabling the primary key does not automatically re-enable those foreign keys, so the primary key is enabled and immediate, while the foreign key remains disabled.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!