CSV

Teradata Vantage™ SQL Functions, Expressions, and Predicates

brand
Software
Teradata Vantage
prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1145-162K

Purpose

CSV (Comma-Separated Value Data Unloading) returns input row column values in text format separated by a user-specified delimiter character.

Syntax



TD_SYSFNLIB.
Name of the database where the function is located.
NEW VARIANT_TYPE value
A numeric or character expresssion.
NEW VARIANT_TYPE can support up to 8 row column values.
Each row column value can have a maximum of 128 columns of any supported data type.
delimit_string_value
A character expression.
A comma (,) is the default delimiter character.
quote_string_value
A character expression.
If you specify a quotation mark character, for example ‘”’, columns defined as string data types are returned within quotation marks.