MySQL Forums
Forum List  »  Microsoft SQL Server

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.

FROM tmpptabled AS a
RIGHT JOIN salesd AS b ON = AND a.vrno = b.vrno AND a.srno = b.srno
JOIN salem AS c ON = AND b.vrno = c.vrno
WHERE a.vrno is null

Options: ReplyQuote

Written By
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.