| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.oracle -> Re: common UPDATE syntax for SqlServer and Oracle
Hugo Kornelis wrote:
> On Fri, 26 Nov 2004 11:01:39 +0100, Jan van Veldhuizen wrote:
>
>
>>Thanks. I'm going to test that. >> >>That syntax will work with one column to be updated. >>What if I have to columns? >> >>I think the oracle sql will support something like: >>UPDATE Table1 >> SET (city_id, another_column) = >> (SELECT T2.id, other_column FROM etctera... >> >>But that no standard SqlServer syntax as far as I know.
SET (city_id, another_column) = (SELECT T2.id, other column FROM etc
WHERE ...)
WHERE EXISTS(...)
Cheers
Serge
Received on Fri Nov 26 2004 - 06:31:59 CST
![]() |
![]() |