Skip Headers
Oracle® Database SQL Language Reference
12c Release 1 (12.1)

E17209-15
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

ORA_INVOKING_USERID

Syntax

Description of ora_invoking_userid.gif follows
Description of the illustration ora_invoking_userid.gif

Purpose

ORA_INVOKING_USERID returns the identifier of the database user who invoked the current statement or view. This function takes into account the BEQUEATH property of intervening views referenced in the statement.

This function returns a NUMBER value.

See Also:

  • ORA_INVOKING_USER to learn how Oracle Database determines the database user who invoked the current statement or view

  • BEQUEATH clause of the CREATE VIEW statement

Examples

The following example returns the identifier of the database user who invoked the statement:

SELECT ORA_INVOKING_USERID FROM DUAL;