复制代码 代码如下:
select session_id sid, owner, name, type, mode_held held, mode_requested request
from dba_ddl_locks
where session_id=(select sid from v$mystat where rownum=1)
/
(注:owner 列是所锁定对象的所有者)
复制代码 代码如下:
select session_id sid, owner, name, type, mode_held held, mode_requested request
from dba_ddl_locks
where session_id=(select sid from v$mystat where rownum=1)
/
(注:owner 列是所锁定对象的所有者)