Updating Variables
For assignment, SQL uses the key word SET, as in SET X = X + 1 (read as "set X equal to X+1") rather than X: = X + 1 as found in many computer languages.
When the target is a base table, direct assignment is not available in SQL. Only differential update operators such as the usual INSERT, DELETE, and UPDATE are available.