PL/SQL (MOSC)

MOSC Banner

Create External Table in another schema using DBMS_CLOUD package

in PL/SQL (MOSC) 1 commentAnswered ✓

Oracle has provided the DBMS_CLOUD package to create external tables for Parquet and other file types stored in cloud storage. I can create an external table for a parquet file in the same schema.

However, if I put my code in a procedure in schema A and call this procedure in schema B, it will give an insufficient permissions error. After adding AUTHID CURRENT USER in the procedure, I can create an external table but it will be created in schema B.

I want to create external tables in schema A but I want to call the procedure from schema B. Is there any way to achieve this?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center