Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Update several columns
Hi,
is it possible to update more than one column in the same statement
without using a subselect?
UPDATE <table>
SET (COLUMN_1, COLUMN_2) = (SOME_VALUE,
SOME_OTHER_VALUE)
WHERE <something> = <something>
or do we need to use two statements?
Mabye the performance is ok even with two statements???
tanks :)
ranli
![]() |
![]() |