175.Which two statements are true regarding savepoints? (Choose two.)
A.Savepoints are effective only for COMMIT.
B.Savepoints may be used to ROLLBACK.
C.Savepoints can be used for only DML statements.
D.Savepoints are effective for both COMMIT and ROLLBACK.
E.Savepoints can be used for both DML and DDL statements.
答案:BC
解析:这里的savepoint是一种tc语言,也就是事务,这道题考察的还是事务,对事务有影响的包括ddl,dcl和tc(除savepoint)
A:错误
B:正确
C:正确,oracle中对于产生事务的语句只有dml语句
D:错误,savepoint只对rollback有效,commit会把所有的事务进行提交,不管有多少savepoint都会提交
E:和C一样
A.Savepoints are effective only for COMMIT.
B.Savepoints may be used to ROLLBACK.
C.Savepoints can be used for only DML statements.
D.Savepoints are effective for both COMMIT and ROLLBACK.
E.Savepoints can be used for both DML and DDL statements.
答案:BC
解析:这里的savepoint是一种tc语言,也就是事务,这道题考察的还是事务,对事务有影响的包括ddl,dcl和tc(除savepoint)
A:错误
B:正确
C:正确,oracle中对于产生事务的语句只有dml语句
D:错误,savepoint只对rollback有效,commit会把所有的事务进行提交,不管有多少savepoint都会提交
E:和C一样