Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Basic Issue: Update query based on two tables not working! Any help appreciated!

Basic Issue: Update query based on two tables not working! Any help appreciated!

From: <deepankar_at_hotmail.com>
Date: 6 Dec 2005 15:45:40 -0800
Message-ID: <1133912740.610772.258580@g49g2000cwa.googlegroups.com>

I have a update query that is not running, and is giving me a strange error:

ORA-00933: SQL Command not properly ended

The Update Query is based on two tables, and that is what is causing the issue, I guess.

UPDATE tableA

             SET tableA.PLAN_TYPE = 'L'
FROM from tableB B, tableA A
WHERE
 (A.OR_ID = B.OR_ID AND
 A.DS_ID = B.DS_ID)

Any help is appreciated a lot.

Thanks
- Deepso Received on Tue Dec 06 2005 - 17:45:40 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US