Oracle/PLSQL: Sys_Context Function(轉自http://www.techonthenet.com)
In Oracle/PLSQL, the sys_context function can be used to retrieve information about the Oracle environment.The syntax for the sys_context function is:sys_context( namespace, parameter, [ length ] )namespace is an Oracle namespace that has already been created. If the namespace of 'USERENV' is used, attributes describing the current Oracle session can be returned.parameter is a valid attribute that has been set using the DBMS_SESSION.set_context procedure.length is optional. It is the length of t