Examples | FORMAT Phrase| Teradata Vantage - 17.10 - Example: Without FORMAT Clause - 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)

If the CREATE TABLE statement defined the format for the Salary column as ‘ZZ9999.99’, the result of the statement:

SELECT SUM(Salary) FROM Employee;

is:

SUM(Salary)
-----------
  851100.00