FORMAT Phrase

Teradata Vantageā„¢ Data Types and Literals

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

A FORMAT phrase in DATE to numeric conversion may only contain the 9 or Z formatting character. For example:

SELECT CAST (DATE '2007-12-31' AS INTEGER FORMAT '9999999');