Naming Columns and Expressions | Date Types and Literals | Teradata Vantage - Naming Columns and Expressions - Advanced SQL Engine - Teradata Database

SQL Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
zsn1556242031050.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1143
lifecycle
previous
Product Category
Teradata Vantage™

Each column in a SELECT result has a name that is derived from the list of specified column names (expressions) that generated the data. The name is typically the column name from which the data came.

For example, the columns in the result

SELECT EmpNo, Name
FROM Employee;

are labeled EmpNo and Name by default.

In some cases, it is necessary to associate a column name that is different from the default column name with a result. Teradata Database provides two ways to name a column.

This phrase for naming … Is …
NAMED a Teradata extension to the ANSI SQL:2011 standard.
AS ANSI SQL:2011 compliant.