以下三条命令均可查看:
SQL> show user;
USER 为 "C##A"
SQL> select sys_context('USERENV','SESSION_USER') FROM DUAL;
SYS_CONTEXT('USERENV','SESSION_USER')
--------------------------------------------------------------------------------
C##A
SQL> SELECT USER FROM DUAL;
USER
--------------------------------------------------------------------------------
C##A