select object_id from dba_objects where object_name=UPPER(‘临时表表名‘);
select sid from v$lock where id1=91037; //91037是上一步查询出的结果
select serial# from v$session where sid=303; //303是上一步查询出的结果
alter system kill session ‘303,13987‘; //13987是上一步查询出的结果
303 是上面的303然后再删除临时表就可以了
原文地址:https://www.cnblogs.com/kawashibara/p/9737841.html
时间: 2024-11-08 21:37:31