jinyuttt

导航

oracle 解锁

1.表级解锁:select 'alter system kill session ',''''||trim(t2.sid)||','||trim(t2.serial#)||''';'
from v$locked_object t1,v$session t2 where t1.session_id=t2.sid order by t2.logon_time

执行查询的语句

2.用户解锁

ALTER USER username ACCOUNT UNLOCK;

posted on 2013-02-27 12:44  代码苦行僧  阅读(170)  评论(0编辑  收藏  举报