17.10 - Example: Creating a Join Index With a BEGIN Expression in its Select List - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

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

This example specifies an aliased BEGIN expression in its select list.

     CREATE JOIN INDEX ji_begin AS 
       SELECT b1, c1, BEGIN(d1) AS b
       FROM t1;