16.20 - UPDATE - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Content Type
Programming Reference
Publication ID
B035-1144-162K
Language
English (United States)
Last Update
2019-05-24

Update the current query band name:value pairs as follows.

  • If the query band name matches a name in the current query band, then Teradata Database replaces the value.
  • If the query band name does not match a name in the current query band, then Teradata Database adds the name:value pair.

The only way to remove a name:value pair from a query band is to replace the entire query band.

If an update causes the new query band to exceed the maximum allowable length, Teradata Database returns an error to the requestor.

Note that a name can be set to a zero-length string by specifying pair_name =;’.

If you do not specify UPDATE, then the entire current query band is replaced by the new query band.

You cannot specify both the NONE option and the UPDATE option within the same request.