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 -> Re: UPDATE problem - FROM Clause not supported in Oracle

Re: UPDATE problem - FROM Clause not supported in Oracle

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 26 Jul 2005 13:12:07 -0700
Message-ID: <1122408727.889704.45530@z14g2000cwz.googlegroups.com>


Dsriva, I do not believe that the FROM clause is part of the ANSI standard for an UPDATE statement. Regardless, I believe you want something like the following:

update field_char f
set maxLength = 254
where f.fieldid in ('2','4','5','101',117','118') and exists (select s.schemald

                 from arschema s
                 where s.schemald = f.schemald
                 and s.schema_type = 1)

You might want to try this version in SQL Server.

HTH -- Mark D Powell -- Received on Tue Jul 26 2005 - 15:12:07 CDT

Original text of this message

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