Environment Functions
Description
Portable SQL environment functions.
Discussion
The portable SQL environment functions can be used to get information about the current user, database, session user, and system user.
- Name
- Description
- CurrentUser
Get the currently connected user id (according to the SQL database server).
- Database
Returns the current database name.
- SessionUser
Get the current session user (according to the SQL database server).
- SystemUser
Get the system user (according to the SQL database server).