Categories: System
USER
Returns the user that is currently logged into the system. This function cannot be used in a Reflection.
Syntax
USER() → varchar
Examples
USER exampleSELECT USER()
-- [email protected]
SELECT USER
-- [email protected]
SELECT "USER"()
-- [email protected]
Usage Notes
This function can be called without the parentheses. This function is identical to the functions SESSION_USER and SYSTEM_USER.