Skip to main content

Assignment Operators

Description

The function of the assignment operator is to assign the expression on the right-hand side of the operator to the expression on the left-hand side. In Doris, the assignment operator can only be used in the SET part of the UPDATE statement and in the SET statement. For details, please refer to the UPDATE statement and the SET statement.

Operators

OperatorPurposeExample
= Assign the result of to .SET enable_profile = true