Using the DUAL table in subquery of UPDATE
1005809Apr 26 2013 — edited Apr 26 2013Should the following code work? I feel like I have done this before, but I'm getting a "must be a subquery" error now.
update TABLE1
set (FIELD1, FIELD2) =
values(select 'blah','blah' from DUAL)
where PK_FIELD=12345;
If this is invalid, is there another way to hardcode a series of values like this?
Thanks in advance.
Edited by: user8031991 on Apr 26, 2013 11:57 AM