APP-SQLAP-10771:Could not reserve record (匹配PO时候)

SELECT substr(A.SESSION_ID,1,5) SID, 
       substr(C.SERIAL#,1,5) SERIAL#,     
       substr(B.OBJECT_NAME,1,25) OBJ_NAME,     
       C.STATUS,     
       C.USERNAME,   c.action,  C.USER#,  A.LOCKED_MODE 
       ,c.*
FROM DBA_OBJECTS B, V$SESSION C, V$LOCKED_OBJECT A 
WHERE A.OBJECT_ID = B.OBJECT_ID 
AND   B.OBJECT_NAME like '%AP%' 
AND   c.client_info like '%142%%'  --OU_ID:就是指所在企业的OU的ID
AND   C.SID = A.SESSION_ID; 

alter system kill session 'sid,serial#'; 

 

posted @ 2015-06-04 09:45  我不卖豆腐  阅读(914)  评论(0编辑  收藏  举报