您的位置:首页 > 其它

OCP-1Z0-052-V8.02-176题

2013-10-25 09:26 417 查看
176. You executed this command to create a temporary table:
SQL> CREATE GLOBAL TEMPORARY TABLE report_work_area (startdate DATE, enddate DATE, class
CHAR(20)) ON COMMIT PRESERVE ROWS;
Which statement is true about the rows inserted into the REPORT_WORK_AREA table during a
transaction?
A.The rows stay in the table only until session termination.
B.The rows stay in the table only until the next transaction starts on the table.
C.The rows are visible to all current sessions after the transaction is committed.
D.The rows stay available for subsequent sessions after the transaction is committed.
Answer: A
答案解析:
参考:/article/1628970.html

下列子句控制着行的生存期:
• ON COMMIT DELETE ROWS :指定插入行的生存期仅为事务处理的持续时间
• ON COMMIT PRESERVE ROWS :指定插入行的生存期为会话的持续时间
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: