17.10 - Example: Using FORMAT to Override Default Format - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1143-171K
Language
English (United States)

Another example of overriding the column default and formatting the output:

SELECT salary (FORMAT '$$$,$$9.99')
FROM employee
WHERE empno = 10019 ;

The system returns:

    Salary
    ------
$28,600.00