Apache Hive : HPL/SQL - USER Function
Table of Contents
Apache Hive : HPL/SQL - USER Function
USER function returns the name of the user executing the current HPL/SQL script.
Syntax:
USER
Return Type:
STRING
Example:
Get the current user:
USER
--
paul
Compatibility: Oracle, IBM DB2 and Teradata.
See also: