Modifies a column's values in existing rows of a table.
Category: | Data Manipulation |
Supports: | EXECUTE Statement |
Data source: | SAS data set, SPD Engine data set, Aster, DB2 under UNIX and PC, Greenplum, MDS, MySQL, Netezza, ODBC, Oracle, PostgreSQL, SAP HANA, Sybase IQ, Teradata |
specifies a table name.
Restriction | A Teradata table must have a primary key defined to be updated with the UPDATE statement. |
specifies a column name.
specifies any valid SQL expression.
See | <sql-expression> |
specifies any valid value expression.
Tip | You can use parameter arrays in the INSERT statement. |
update payroll set salary = salary + 1000;