17.10 - Syntax - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
English (United States)
void
FNC_DbsInfo( dbs_info_t *data )
data
typedef struct dbs_info_t {
    SQL_TEXT UserAccount[FNC_MAXNAMELEN];
    SQL_TEXT UserName[FNC_MAXNAMELEN];
    int      UserId;
    short    StatementNo;
    short    Host;
    int      SessionNo;
    int      RequestNo;
} dbs_info_t;

Syntax Elements

UserId
Specifies the user ID.
StatementNo
Specifies the current statement number for the request.
Host
Specifies the host ID.
SessionNo
Specifies the session number.
RequestNo
Specifies the current client request number.