1

I have some sql statement:

 SELECT *         
 FROM OSOBA o          
 LEFT JOIN DOKLAD d on d.ID_OSOBA = o.ID_OSOBA     
 WHERE o.AIFO like '2D5C%'  
   AND o.PLATNOST = 0

 SELECT *
 FROM OSOBA o          
 WHERE o.AIFO like '2D5C%'
   AND o.PLATNOST = 0     
 FOR UPDATE OF o.ID_OSOBA


SELECT * 
FROM OSOBA o
LEFT JOIN DOKLAD d on d.ID_OSOBA = o.ID_OSOBA       
WHERE o.AIFO like '2D5C%'
  AND o.PLATNOST = 0 
FOR UPDATE OF o.ID_OSOBA

first and second statements are OK. But in last I got ora-00918. I have no idea why. In FOR UPDATE I defined prefix of table please help

4

1 に答える 1

1

このスレッドは、バージョン 11.2.0.2 で修正された更新と結合を使用する Oracle バグがあると言っているようです。

于 2013-07-29T09:03:49.093 に答える