You have two tables with referential integrity enforced between them. You need to insert data to thechild table first because it is going to be a long transaction and data for the parent table will be available ina 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()
- A、Set the constraint to deferred before starting the transaction.
- B、Alter the constraint to NOVALIDATE state before starting the transaction.
- C、Enable the resumable mode for the session before starting the transaction.
- D、Set the COMMIT_WAIT parameter to FORCE_WAIT for the session before starting the transaction.
正确答案:A
答案解析:有
微信扫一扫手机做题