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

SQL External Routine Programming

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

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;