UPDATE keyword
Updates data in a database table.
Syntax#
note
- the same
columnNamecannot be specified multiple times after the SET keyword as it would be ambiguous - the designated timestamp column cannot be updated as it would lead to altering history of the time-series data
- If the target partition is
attached by a symbolic link,
the partition is read-only.
UPDATEoperation on a read-only partition will fail and generate an error.
Examples#
Update with constant
Update with function
Update with join
Update with multiple joins
Update with a sub-query