OCP认证051考试题库:11g-v9.02-第167题
最新学讯:近期OCP认证正在报名中,因考试人员较多请尽快报名获取最近考试时间,报名费用请联系在线老师,甲骨文官方认证,报名从速!
我要咨询OCP认证051考试题库:11g-v9.02-第167题,完整题库请点击这里联系老师咨询了解
167. Evaluate the following DELETE statement:
DELETE FROM sales;
There are no other uncommitted transactions on the SALES table.
Which statement is true about the DELETE statement?
A. It would not remove the rows if the table has a primary key.
B. It removes all the rows as well as the structure of the table.
C. It removes all the rows in the table and deleted rows can be rolled back.
D. It removes all the rows in the table and deleted rows cannot be rolled back.
Answer: C
试题解析:
A,如果表中有主键则不能移除行,错误,有主键是可以删除的
B,移除表中所有行及表结构,错误,表结构是保留的
C,移除表中所有行,并且删除的行可以回滚,正确,删除的数据保留在undo段,可以回滚。
D,移除表中所有行,并且删除的行不可以回滚,错误,删除的行是可以回滚的。