You have two tables with referential integrity enforced between them. You need to insert
data to the child table first because it is going to be a long transaction and data for the
parent table will be available in a later stage, which can be inserted as part of the same
transaction. View the Exhibit to examine the commands used to create tables. Which action
would you take to delay the referential integrity checking until the end of the transaction?
See the Exhibit: Examine the commands used to create tables: Which action would you
take to delay the referential integrity checking until the end of the transaction?
A.
Enable the resumable mode for the session before starting the transaction
B.
Set the COMMIT_WAIT parameter to FORCE_WAIT for the session before starting the
transaction
C.
Alter the constraint to NOVALIDATE state before starting the transaction
D.
Set the constraint to deferred before starting the transaction
The answer is:
D.
Set the constraint to deferred before starting the transaction