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

Home -> Community -> Usenet -> c.d.o.server -> UPDATE problem - FROM Clause not supported in Oracle

UPDATE problem - FROM Clause not supported in Oracle

From: dsriva <dsrivast_at_gmail.com>
Date: 26 Jul 2005 07:53:32 -0700
Message-ID: <1122389612.926329.57260@o13g2000cwo.googlegroups.com>


Hi,
I want to have a single statement to work on both sql server and oracle, but am not able to convert the following to do so. I am trying to update a column

UPDATE field_char f SET maxLength = 254

FROM field_char fc, arschema s

WHERE f.fieldid IN('2', '4', '5', '101', '105', '117', '118')

AND (s.schemaId = fc.schemaId)

AND (s.schemaType = 1)

But it seems that the FROM clause is not supported in Oracle,

Thanks for any help
dsriva Received on Tue Jul 26 2005 - 09:53:32 CDT

Original text of this message

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