Data Type Default Formats | Data Types and Literals | VantageCloud Lake - Data Type Default Formats - Teradata VantageCloud Lake

Lake - Working with SQL

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Publication Date
February 2025
Publication ID
B700-4600-008K
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
jbe1714339405530.ditamap
dita:ditavalPath
pny1626732985837.ditaval
ft:sourceId
dita
dita:id
jbe1714339405530

Teradata SQL uses a set of default formats for displaying expressions and column data, and for conversions between data types.

For example, Vantage assigns a format to every column of a table at the time the table is created. If the CREATE TABLE statement omits the format for a column, then Vantage assigns a default format for the data type of the column.

You can override the default format by using the FORMAT phrase with a CREATE TABLE, ALTER TABLE, SELECT, UPDATE, DELETE, MERGE, or INSERT statement. For more information, see FORMAT.

You can also use the FORMAT phrase with CAST or with Teradata conversion syntax to convert data from one type to another. For more information, see CAST in Explicit Data Type Conversions Examples.