Default Result for Character Data | Data Types and Literals | Teradata Vantage - Default Result for Character Data - Teradata Vantage - Analytics Database

SQL Data Types and Literals

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-11-06
dita:mapPath
uds1628112204571.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
exs1472253032394
lifecycle
latest
Product Category
Teradata Vantage™

The following table shows the default if a CREATE TABLE, ALTER TABLE, or SELECT statement does not include the FORMAT phrase.

IF the data type is … THEN …
CHARACTER return the full length specified for a fixed-length CHARACTER column (that is, pad characters are returned unless TRIM is included in the SELECT statement).
VARCHAR return the actual character string.
CLOB
  • If the server character set is LATIN and the length of the CLOB is < 64000, then return the actual character string.
  • If the server character set is LATIN and the length of the CLOB is ≥ 64000, then return the first 64000 characters.
  • If the server character set is UNICODE and the length of the CLOB is < 32000, then return the actual character string.
  • If the server character set is UNICODE and the length of the CLOB is ≥ 32000, then return the first 32000 characters.