Current_User Function; Example Of Current_User - HP Neoview SQL Reference Manual

Hide thumbs Also See for Neoview SQL:
Table of Contents

Advertisement

CURRENT_USER Function

The CURRENT_USER function returns the user name that you logged in as. If you are logged
in as the role, the role is returned. This function can be used anywhere in the query. The values
returned are string datatype VARCHAR(64).
CURRENT_USER
The CURRENT_USER function is equivalent to the

Example of CURRENT_USER

This example retrieves the user name value for the current user
SELECT CURRENT_USER FROM logfile;
(EXPR)
-----------------------
DCS.TSHAW
...
--- 5 row(s) selected.
"USER Function" (page
CURRENT_USER Function
429).
317

Advertisement

Table of Contents
loading

Table of Contents