Oracle Environment and Identifier Functions
Environment and identifier functions provide information about the instance and session. This page summarizes the Oracle environment and identifier functions.
-
CON_DBID_TO_ID
OracleCON_DBID_TO_ID()
is a built-in function that returns the container ID based on the container DBID. -
CON_GUID_TO_ID
OracleCON_GUID_TO_ID()
is a built-in function that returns the container ID based on the container GUID. -
CON_NAME_TO_ID
OracleCON_NAME_TO_ID()
is a built-in function that returns the container ID based on the container name. -
CON_UID_TO_ID
OracleCON_UID_TO_ID()
is a built-in function that returns the container ID based on the container UID. -
ORA_INVOKING_USER
OracleORA_INVOKING_USER
is a built-in function that returns the name of the database user that invoked the current statement or view. -
ORA_INVOKING_USERID
OracleORA_INVOKING_USERID
is a built-in function that returns the identifier of the database user who invoked the current statement or view. -
SYS_CONTEXT
OracleSYS_CONTEXT()
is a built-in function that returns the value of the given parameter associated with the given context at the current time. -
SYS_GUID
OracleSYS_GUID()
is a built-in function that generates and returns a globally unique identifier composed of 16 bytes. -
UID
OracleUID
is a built-in function that returns the unique identifier of the current user session. -
USER
OracleUSER
is a built-in function that returns the name of the current user for the session. -
USERENV
OracleUSERENV()
is a built-in function that returns information about the current session.