16.20 - FNC_TblOpGetUniqID - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Programming Reference
Publication ID
B035-1147-162K
Language
English (United States)

Purpose

Returns the unique identifier associated with a table operator.

Syntax

int
FNC_TblOpGetUniqID()

Return Value

A unique table operator identifier.

Usage Notes

When multiple table operators are present in a single query, as in a map reduce operation such as the following, you can use the unique table identifier to distinguish between each of the table operators:

SEL * FROM MyOperator(ON (SEL * FROM MyOperator ON (tab1) d2)) d1;