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 -> Re: Basic Issue: Update query based on two tables not working! Any help appreciated!

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

From: Mark C. Stock <mcstockX_at_Xenquery>
Date: Tue, 6 Dec 2005 22:00:09 -0500
Message-ID: <87ydnaMLiLCgzQvenZ2dnUVZ_tWdnZ2d@comcast.com>

<deepankar_at_hotmail.com> wrote in message news:1133912740.610772.258580_at_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
>

it appears that you may be using SQL Server syntax instead of Oracle syntax

++ mcs Received on Tue Dec 06 2005 - 21:00:09 CST

Original text of this message

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