可能的问题:
1)锁表
SELECT dob.OBJECT_NAME Table_Name ,lo.LOCKED_MODE,
lo.SESSION_ID,
vss.SERIAL#,
vps.spid,
vss.action Action,
vss.osuser OSUSER,
vss.process AP_PID,
VPS.SPID DB_PID,
'alter system kill session ' || '''' || lo.SESSION_ID || ',' ||
vss.SERIAL# || ''';' kill_command
from v$locked_object lo, dba_objects dob, v$session vss, V$PROCESS VPS
where lo.OBJECT_ID = dob.OBJECT_ID
and lo.SESSION_ID = vss.SID
AND VSS.paddr = VPS.addr
order by 2, 3, DOB.object_name;
2)可能界面与数据表数据不一致所致
检查表中的VARCHAR2列前后是否有空格,如果有,删除后commit即可
阅读(1675) | 评论(0) | 转发(0) |