My Oracle Support Banner

ADB: Calling DBMS_CLOUD Inside PL/SQL Fails With Error "PLS-00201: identifier 'DBMS_CLOUD' must be declared" Or "PLS-00904: insufficient privilege to access object PUBLIC.DBMS_CLOUD" (Doc ID 2651245.1)

Last updated on APRIL 29, 2024

Applies to:

Autonomous Database Serverless - Version N/A and later
Information in this document applies to any platform.

Symptoms

Calling DBMS_Cloud inside the PL/SQL fails with PLS-00904 or PLS-00201 

 Command

create or replace procedure test_validate as
begin
DBMS_CLOUD.VALIDATE_EXTERNAL_TABLE (
  table_name =>'XXXXXXXX',
  schema_name =>'XXXXXXXX',
  stop_on_error =>FALSE);
   end;


Reported Error

ERROR: ORA-24344: success with compilation error
  PLS-00904: insufficient privilege to access object PUBLIC.DBMS_CLOUD

 

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!


In this Document
Symptoms
Cause
Solution
References


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