Who_am_I

sql

FUNCTION Who_am_I RETURNS CHAR(31);

Description

The Who_am_I function retrieves the name of the user, the client used to connect to the database server.

This function returns "ANONYMOUS" for anonymous user.

Function value

The Who_am_I function returns the name of the user, the client used to connect to the database server.