3,492
社区成员
发帖
与我相关
我的任务
分享
SQL> create table test(id number);
表已创建。
SQL> insert into test values(1);
已创建 1 行。
SQL> commit;
提交完成。
SQL> alter table test disable table lock;
表已更改。
SQL> alter table test enable table lock;
表已更改。
SQL> alter table test disable table lock;
表已更改。
SQL> drop table test;
drop table test
*
ERROR 位于第 1 行:
ORA-00069: cannot acquire lock -- table locks disabled for TEST
SQL> insert into test values(2);
已创建 1 行。
SQL> alter table test enable table lock;
表已更改。
SQL> drop table test;
表已丢弃。