Introduction to SQL Data Types and Literals - 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™

Using Data Types and Literals

Teradata Vantage™ - Data Types and Literals describes the data types and data literals supported by Analytics Database. This document is primarily for application programmers.

Why Would I Use this Content?

Use this content if you want to do the following:
  • Specify a data type and data type attributes in SQL data definition phrases.
  • Specify a format for a data type. For example, you can specify the format for how dates are displayed.
  • Convert or cast from one data type to another.

This document also provides information about compressing data values in table columns and specifying default values for fields.

How Do I Use this Content?

See the information about the data type or data literal you are interested in and how it can be used.

How Do I Get Started?

References to Other Relevant Content

The following provides information about additional data types supported by Analytics Database:
  • Teradata Vantage™ - DATASET Data Type, B035-1198
  • Teradata Vantage™ - Geospatial Data Types, B035-1181
  • Teradata Vantage™ - JSON Data Type, B035-1150
  • Teradata Vantage™ - XML Data Type, B035-1140