ORA-14452: attempt to create, alter or drop an index on temporary table already in use
原因:有用户在使用临时表
通过以下方法查找
-找到锁住表的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='TMP_REP_5'));
--删除这个session
alter system kill session 'sid,serial#';
在v$lock中锁类型为TO型,id1为对象id.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16572356/viewspace-697817/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/16572356/viewspace-697817/