tdr.IsDimension Function | R Table Operators | Teradata Vantage - tdr.IsDimension - 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

Checks whether a stream is a DIMENSION input stream.

Syntax

tdr.IsDimension(streamno)
streamno
Parameter type: integer

The input stream number.

Return Value

An integer indicating whether or not the input stream is a DIMENSION stream:
  • 1 if the stream is a DIMENSION stream
  • 0 if the stream is not a DIMENSION stream

Example: Check If a Stream is a DIMENSION Input Stream

stream <- 2;
X <- tdr.IsDimension(stream);

X is of type integer, and the value of X can be 0 or 1.