16.20 - tdr.GetCustomKeyAt - 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

Retrieves the key at the specified index.

Syntax

tdr.GetCustomKeyAt(index)
index
Parameter type: integer

The function will search for the key at this index.

Keys are indexed in the order that they appear in the query, starting at 0.

Return Value

A character string representing the key at the specified index.

If the function encounters an error, NULL is returned.