Oracle/PLSQL: UserEnv Function(轉自http://www.techonthenet.com/oracle/functions/userenv.php)
In Oracle/PLSQL, the userenv function can be used to retrieve information about the current Oracle session. Although this function still exists in Oracle for backwards compatibility, it is recommended that you use the sys_context function instead.The syntax for the userenv function is:userenv( parameter )parameter is the value to return from the current Oracle session. The possible values are:ParameterExplanationCLIENT_INFOReturns user session information stored using the DBMS_APPLICATION_INFO p