16.20.16.20 - 16.20 - Example: Using FORMAT to Change the Format of Returned Data - Teradata Vantage NewSQL Engine

Teradata Vantage™ Data Types and Literals

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

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