Returns a character‑string identifier for the user of the current transaction, as determined by the host operating system. This function takes no arguments, and the trailing parentheses are optional.

Syntax

USER [ ( ) ]

Notes

SQL statements can refer to USER anywhere they can refer to a character string expression.

Compatibility

ODBC compatible