分类

链接

2024 年 11 月
 123
45678910
11121314151617
18192021222324
252627282930  

近期文章

热门标签

新人福利,免费薅羊毛

查看哪些表被锁和怎么解锁

--检查那个表被锁 select sess.sid,sess.serial#, lo.oracle_username,lo.os_user_name,ao.object_name,lo.locked_mode from v$locked_object lo,dba_objects ao,v$session sess where ao.object_id = lo.object_id and lo.session_id = sess.sid;   --解锁   alter system kill session ''273,45''; /*SELECT b.Object_Name, c.Sid, c.Serial# FROM V$locked_Object a, Dba_Objects b, V$session c WHERE a.Object_Id = b.Object_Id AND a.Session_Id = c.Sid AND b.Object_Name = ''T_ZYYS_BCJL''; &n...

SQL Server 评论(1) 阅读(5,319)