User Tools

Site Tools

A PCRE internal error occured. This might be caused by a faulty plugin


**HPL/SQL is included to Apache Hive since version 2.0** * [[home|Home]]\\ * [[why|Why HPL/SQL]]\\ * [[features|Key Features]]\\ * [[start|Get Started]]\\ * [[doc|HPL/SQL Reference]]\\ * [[download|Download]]\\ * [[new|What's New]]\\ * [[about|About]]


====== CURRENT_USER Function - PL/HQL ====== CURRENT_USER function returns the name of the user executing the current PL/HQL script. **Syntax**: <code language="sql"> CURRENT_USER | CURRENT USER </code> **Return Type:** STRING **Example**: Get the current user: <code language="sql"> CURRENT_USER -- paul </code> **Compatibility**: IBM DB2, Teradata. **Version:** PL/HQL 0.3.11 See also: * [[user|USER]]