My Oracle Support Banner

PLS-00904 WHEN COMPILING PL/SQL STORED PROCEDURE, FUNCTION, OR DATABASE TRIGGER (Doc ID 1014765.6)

Last updated on JANUARY 07, 2025

Applies to:

PL/SQL - Version 7.3.4.1 and later
Oracle Database - Enterprise Edition - Version 7.3.4.0 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

A privilege such as update, delete, or insert on a table has been granted through a role.

However, when compiling a PL/SQL stored procedure, function, or database trigger, the following error occurs:

PLS-00904: insufficient privilege to access object 'name'

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.