1.You currently have an active transaction in your session and have been granted SELECT access to VTRANSACTION(Choose three.)
Executing: SELECT xid, status FROM v$transaction; . in your session returns:
XID STATUS
0A0007000A070000 ACTIVE
In which three situations will re–executing this query still return a row but with a different XID,indicating a new transaction has started?
A . after successfully executing a DML statement following a failed DML statement DML
B . after successfully executing a CREATE TABLE statement followed by a CREATE INDEX statement.
C . after successfully executing a TRUNCATE statement followed by a DML statement.(成功执行TRUNCATE语句后,再执行DML语句)
D . after successfully executing a CREATE TABLE AS SELECT statement followed by a SELECT FOR UPDATE statement.(成功上执行CREATE TABLE AS Select 语句后再执行SELECT FOR UPDATE 语句)
E . after successfully executing a COMMIT or ROLLBACK followed by a SELECT statement.
F . after successfully executing a COMMIT or ROLLBACK followed by a DML statement.(成功执行commit或ROLLBACK之后再执行DML语句)
标准答案 :CDF
解析:
Oracle数据库事务的开启与结束
Oracle的事务开始于一个DML语句。