FNC_TblOpGetUniqID Function | C Library Functions | Teradata Vantage - 17.10 - FNC_TblOpGetUniqID - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL External Routine Programming

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

Returns the unique identifier associated with a table operator.

Syntax

int
FNC_TblOpGetUniqID()

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;