CURRENT_USER¶
The CURRENT_USER function returns the name of the user that owns the session executing the current SQL statement.
Example¶
snappy> SELECT CURRENT_USER();
current_user()
-----------------------------------------------------------------------------------------
USER1
1 row selected
Also see: