ITPub博客

首页 > 数据库 > Oracle > Oracle 11G OCP 1Z0-052 186

Oracle 11G OCP 1Z0-052 186

原创 Oracle 作者:LuiseDalian 时间:2014-07-28 09:05:28 0 删除 编辑
(186)User A executes the following command to drop a large table in your database: SQL> DROP TABLE trans;

While the drop table operation is in progress, user B executes the following command on the same table: SQL> DELETE FROM trans WHERE tr_type='SL';

Which statement is true regarding the DELETE command?

A. It fails with a "Resource Busy" error.

B. It deletes the rows successfully because the table is locked in SHARE mode.

C. It fails to delete the records because the table is locked in EXCLUSIVE mode.

D. It deletes the rows successfully because the table is locked in SHARE ROW EXCLUSIVE mode.

答案:(C)

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/17013648/viewspace-1239858/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2012-02-06

  • 博文量
    1986
  • 访问量
    6040856