Purpose
This function returns the name of the current user.
Syntax
USER
Return type
VARCHAR2
Examples
Return the name of the current user.
obclient> SELECT USER FROM DUAL;
+------+
| USER |
+------+
| SYS |
+------+
1 row in set
OceanBase Database
Download PDF
This function returns the name of the current user.
USER
VARCHAR2
Return the name of the current user.
obclient> SELECT USER FROM DUAL;
+------+
| USER |
+------+
| SYS |
+------+
1 row in set