UPDATE
AttentionThis page documents an earlier version. Go to the latest (v2.1)version.
Synopsis
The UPDATE
statement updates one or more column values for a row in table.
Syntax
Diagram
assignment
Grammar
update ::= UPDATE table_name SET assignment [',' assignment ...] WHERE where_expression;
assignment ::= { column_name | column_name'['index_expression']' } '=' expression
Where
table_name
is an identifier.
Semantics
- An error is raised if the specified
table_name
does not exist. - The
where_expression
must evaluate to boolean values.
See Also
当前内容版权归 YugabyteDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 YugabyteDB .