A new function, DBSSessionAttrInfo, is available that allows users to get information about system variables and session attributes in a table operator. The function provides the following information about the current session to the table operator or foreign server:
- Current User Name
- Current Role Name
- Transaction Mode
- Collation
Benefits
A table operator can retrieve information about the current session, such as system variables and session attributes.
Additional Information
For more information about the FNC_DBSSessionAttrInfo function or getDBSSessionAttrInfo() method, see Teradata Vantage⢠SQL External Routine Programming , B035-1147 .