Syntax - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
rin1593638965306.ditamap
dita:ditavalPath
rin1593638965306.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantage™
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.