--1.下面的語句用來查詢哪些對象被鎖: select object_name,machine,s.sid,s.serial# from v$locked_object l,dba_objects o ,v$session s where l.object_id = o.object_id and l.session_id=s.sid; --2.下面的語句用來殺死一個進程: alter system kill session '24,111'; (其中24,111分別是上面查詢出的sid,serial#)