Home » SQL & PL/SQL » SQL & PL/SQL » What does USERENV do?
What does USERENV do? [message #810] Tue, 05 March 2002 13:30 Go to next message
Gideon Clewlow
Messages: 2
Registered: March 2002
Junior Member
What does USERENV do in the following:

SUBSTRB(USERENV('CLIENT_INFO'),1,1)
Re: What does USERENV do? [message #821 is a reply to message #810] Wed, 06 March 2002 03:55 Go to previous message
pratap kumar tripathy
Messages: 660
Registered: January 2002
Senior Member
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.

CLIENT_INFO
-----------

CLIENT_INFO returns up to 64 bytes of user session information that can be stored by an application using the DBMS_APPLICATION_INFO package.
Previous Topic: problem with trigger!
Next Topic: Trigger problem!!!
Goto Forum:
  


Current Time: Fri Apr 19 12:00:50 CDT 2024