SQL/MX 2.x Reference Manual (G06.24+, H06.03+)
SQL/MX Functions and Expressions
HP NonStop SQL/MX Reference Manual—523725-004
9-41
CURRENT_USER Function
CURRENT_USER Function
The CURRENT_USER function returns the current Guardian user ID as variable-length
character data in the form group.name.
The CURRENT_USER function is equivalent to the SESSION_USER Function on
page 9-141 and the USER Function on page 9-172.
Examples of CURRENT_USER
•
Retrieve the user name value for the current user:
SELECT CURRENT_USER FROM logfile;
(EXPR)
-----------------------
DCS.TSHAW
...
--- 5 row(s) selected.
CURRENT_USER