Core Data Type Attributes | Data Types and Literals | Teradata Vantage - Core Data Type Attributes - Advanced SQL Engine - Teradata Database

SQL Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
zsn1556242031050.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1143
lifecycle
previous
Product Category
Teradata Vantage™

The following table lists the main Teradata SQL data type attributes.

Data Type Attribute ANSI Teradata Extension to ANSI
NOT NULL X  
UPPERCASE   X
[NOT] CASESPECIFIC   X
FORMAT format_string   X
TITLE char_string   X
AS name X  
NAMED name   X
DEFAULT value X  
DEFAULT USER   X
DEFAULT DATE   X
DEFAULT TIME   X
DEFAULT NULL X  
WITH DEFAULT   X
WITH TIME ZONE X  
CHARACTER SET X  

The expression “data type attributes” is non-ANSI, as are attributes such as TITLE and FORMAT.

Restrictions apply to some attributes. For example, you cannot use the WITH DEFAULT attribute with UDT data types. For more information, see: