17.10 - Example: Using FORMAT to Change the Format of Returned Data - 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)

Reconfigure the format of data returned:

SELECT empno (FORMAT '99-999'), name, deptno
FROM employee;

The system returns:

EmpNo       Name             DeptNo
------      ----------       ------
10-021      Smith T             700
10-007      Aguilar J           600
10-018      Russell S           300
10-011      Chin M              100