The OLD_CURRENT_USER function returns a session value from sys_context (‘userenv’, ‘current_user’).
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.
Syntax
DBMS_UTILITY.OLD_CURRENT_USER
RETURN VARCHAR2;