SELECT 'alter system kill session '''||s.sid||','||s.serial#||''';',s.sid, s.serial#, s.username, s.schemaname, s.osuser, s.process, s.machine,
s.terminal, s.logon_time, l.type
FROM v$session s, v$lock l
WHERE s.sid = l.sid
AND s.username IS NOT NULL
ORDER BY sid;
oracle 解锁语句
最新推荐文章于 2024-06-19 10:38:27 发布