SELECT t2.username,
t2.sid,
t2.serial#,
t2.logon_time
FROM v$locked_object t1,
v$session t2
WHERE t1.session_id=t2.sid
ORDER BY t2.logon_time;
SELECT sql_text
FROM v$session a,
v$sqltext_with_newlines b
WHERE DECODE(a.sql_hash_value, 0, prev_hash_value, sql_hash_value)=b.hash_value
AND a.sid=&pid
ORDER BY piece;
alter system kill session '22,467';
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
最新推荐文章于 2024-01-21 19:30:00 发布