16.20 - Argument Types and Rules - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantageā„¢ XML Data Type

Teradata Database
Teradata Vantage NewSQL Engine
Release Number
Release Date
March 2019
Content Type
Programming Reference
Publication ID
English (United States)
  • The data type of char_value_expr can be CLOB, CHAR(n), or VARCHAR(n), where n is as close to 64K as permitted. If the type is CLOB, it cannot be larger than 64K.
  • If char_value_expr is NULL, the function returns NULL.
  • If the comment, derived by concatenating '<!-', the character string returned by char_value_expr, and '-->' is not a valid XML comment, an error is raised. For example, char_value_expr should not contain the substring '-->'.