鎖表語句

--查詢鎖表語句
SELECT l.session_id sid, s.serial#, l.locked_mode,l.oracle_username,l.os_user_name,s.machine, s.terminal, o.object_name, s.logon_timeFROM v$locked_object l, all_objects o, v$session s WHERE l.object_id = o.object_idAND l.session_id = s.sidORDER BY sid, s.serial# ;

--解決鎖表語句
ALTER system KILL session 'SID,serial#'; 
相關文章
相關標籤/搜索