发布网友 发布时间:2022-04-23 13:37
共1个回答
热心网友 时间:2022-05-01 21:24
解锁试一试,ALTER SYSTEM KILL SESSION 'SID,SERIR#'
锁表查询:
SELECT S.SID SID, S.SERIAL# SERIAL#, S.USERNAME, O.OWNER||'.'||O.OBJECT_NAME||' ('||O.OBJECT_TYPE||')',S.TYPE LOCK_TYPE, L.ID1 LOCK_ID1, L.ID2 LOCK_ID2
FROM V$LOCK L, SYS.DBA_OBJECTS O, V$SESSION S
WHERE L.SID = S.SID AND L.ID1 = O.OBJECT_ID and O.OWNER = 用户;