Oracle8i SQL Reference Release 2 (8.1.6) A76989-01 |
|
Functions, 114 of 121
USERENV
returns information of VARCHAR2
datatype about the current session. This information can be useful for writing an application-specific audit trail table or for determining the language-specific characters currently used by your session. You cannot use USERENV
in the condition of a CHECK
constraint. The argument option can have any of these values:
|
returns 'TRUE' if you currently have the ISDBA role enabled and 'FALSE' if you do not. |
|
returns the language and territory currently used by your session along with the database character set in this form: language_territory.characterset |
|
returns the operating system identifier for your current session's terminal. In distributed SQL statements, this option returns the identifier for your local session. In a distributed environment, this is supported only for remote |
|
returns your auditing session identifier. You cannot use this option in distributed SQL statements. |
|
returns available auditing entry identifier. You cannot use this option in distributed SQL statements. To use this keyword in |
|
returns the ISO abbreviation for the language name, a shorter form than the existing ' |
|
returns the instance identification number of the current instance. |
|
returns up to 64 bytes of user session information that can be stored by an application using the DBMS_APPLICATION_INFO package. |
|
CAUTION: Some commercial applications may be using this context value. Check the applicable documentation for those applications to determine what restrictions they may impose on use of this context area. |
|
Oracle recommends that you use the application context feature or the See Also:
|
SELECT USERENV('LANGUAGE') "Language" FROM DUAL; Language ----------------------------------- AMERICAN_AMERICA.WE8DEC
|
Copyright © 1999 Oracle Corporation. All Rights Reserved. |
|