试题详情
单项选择题 You have two tables with referential integrity enforced between them. You need to insert data to the child tablefirst 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 tocreate tables.  Which action would you take to delay the referential integrity checking until the end of thetransaction()

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
  • 关注下方微信公众号,在线模考后查看

热门试题