| Oracle9i SQL Reference Release 1 (9.0.1) Part Number A90125-01 |
|
Functions, 157 of 166
user::=
user
USER returns the name of the session user (the user who logged on) with the datatype VARCHAR2. Oracle compares values of this function with blank-padded comparison semantics.
In a distributed SQL statement, the UID and USER functions identify the user on your local database. You cannot use these functions in the condition of a CHECK constraint.
The following example returns the current user and the user's UID:
SELECT USER, UID FROM DUAL; USER UID ------------------------------ ---------- OE 33
|
|
![]() Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|