📜  oracle 查表锁 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:25.832000             🧑  作者: Mango

代码示例1
select t2.username, t2.sid, t2.serial#, t3.object_name, t2.OSUSER, t2.MACHINE, t2.PROGRAM, t2.COMMAND, t2.LAST_CALL_ET
 from v$locked_object t1, v$session t2, dba_objects t3
 where t1.session_id = t2.sid and t1.object_id = t3.object_id
  ORDER BY t2.logon_time;