Oracle Database permits DDL operations on a table only if the table can be locked
during the operation. Such table locks are not required during DML operations.
Note: Table locks are not acquired on temporary tables.
ENABLE TABLE
LOCK Specify ENABLE TABLE LOCK to enable table locks, thereby
allowing DDL operations on the table. All currently executing transactions must
commit or roll back before Oracle Database enables the table lock.
Caution: Oracle Database waits until active DML transactions in the
database have completed before locking the table. Sometimes the
resulting delay is considerable.
DISABLE TABLE LOCK
Specify DISABLE TABLE LOCK to disable table locks, thereby
preventing DDL operations on the table.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-1002050/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10599713/viewspace-1002050/
1845

被折叠的 条评论
为什么被折叠?



