1. 查詢 Oralce 被鎖定的表信息select object_name,machine,s.sid,s.serial#from v$locked_object l,dba_objects o ,v$session swhere l.object_id = o.object_id and l.session_id=s.sid;2. 解鎖
alter system kill session '24,111'; (其中24,111分別是上面查詢出的sid,serial#)