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

Returns information related to the current running table operator or contract function, such as user account and user name.

Syntax

tdr.dbsinfo()

Return Value

A list with the following information:
  • User account
  • User name
  • User ID
  • Statement number
  • Host ID
  • Session number
  • Request number