ORA-14452錯誤及解決方法(临时表被锁)

-找到锁住表的sid和serial#
select sid,serial#
from v$session
where sid=
(
    select sid
              from v$lock  
              where id1=
              (
                           select object_id
                           from user_objects  
                          where object_name=upper('MYPAQ_TEMP')
              )
);



--删除这个session
alter system kill session 'sid,serial#';
commit

你可能感兴趣的:(14452)