16.20 - tdr.GetStreamCount - 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 number of input and output streams.

Syntax

tdr.GetStreamCount()

Return Value

A list with the following two values:
  • The number of input streams
  • The number of output streams

Example: Get the Number of Input and Output Streams

x <- tdr.GetStreamCount()

Object x will be the following list:

$inputCount
[1] 1

$outputCount
[1] 1