/*查出被锁biao*/ select b.owner,b.object_name,a.session_id,a.locked_mode from v$locked_object a,dba_objects b where b.object_id = a.object_id; /*查出锁定表的sid, serial#,*/ SELECT s.sid, s.serial#, s.username, s.schemaname, s.osuser, s.process, s.machine, s.te…