Skip to content

UPDATE does not work with Complex Expression Lists #1316

Closed
@manticore-projects

Description

@manticore-projects

Details as below, all these samples work on H2 and I will look into it.

CREATE TABLE test (
    a        VARCHAR (1)
    , b      VARCHAR (1)
)
;
-- queries are supported
update test
set (a, b) = (select '1', '2');

-- value lists are not supported
update test
set (a, b) = values( '1', '2');

-- simple expression lists are not supported
update test
set (a, b) = ('1', '2');

-- complex expression lists are not supported
update test
set (a, b) = (1, (select 2));

Originally posted by @manticore-projects in #1313 (comment)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions