This Oracle tutorial explains how to use the Oracle/PLSQL USER function with syntax and examples.
The Oracle/PLSQL USER function returns the user_id from the current Oracle session.
The syntax for the USER function in Oracle/PLSQL is:
There are no parameters or arguments for the USER function.
The USER function returns a string value.
The USER function can be used in the following versions of Oracle/PLSQL:
Let's look at some Oracle USER function examples and explore how to use the USER function in Oracle/PLSQL.
For example:
OR
The variable called parm_user_ID will now contain the Oracle user ID from the current Oracle session.