Re: How to use right/left Join in DELETE/UPDATE
Posted by:
Bob Field
Date: June 29, 2006 02:10PM
In the list of tables from which rows are to be deleted, if you have provided aliases for table names, then you must use those aliases and not the actual table name.
DELETE b
FROM tmpptabled AS a
RIGHT JOIN salesd AS b ON a.book = b.book AND a.vrno = b.vrno AND a.srno = b.srno
JOIN salem AS c ON b.book = c.book AND b.vrno = c.vrno
WHERE a.vrno is null
Subject
Written By
Posted
Re: How to use right/left Join in DELETE/UPDATE
June 29, 2006 02:10PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.