PLSQL 锁表处理

SELECT s.username,l.OBJECT_ID,l.SESSION_ID,s.SERIAL#,l.ORACLE_USERNAME,l.OS_USER_NAME,l.PROCESS

FROM V$LOCKED_OBJECT l,V$SESSION S

WHERE l.SESSION_ID=S.SID;

 

格式:alter system kill session ‘SESSION_ID,SERIAL#‘

案例:alter system kill session ‘156,64363‘

PLSQL 锁表处理

上一篇:AZ303-Azure SQL Database


下一篇:Mybatis操作PgSQL的JSON类型(org.postgresql.util.PSQLException: ERROR: column "destination" is of type json but expression is of type character varying) JSON问题