Insufficient privileges from procedure
Hi,
In 11.1.0.7 on SOLARIS, I have a procedure created in SYSTEM schema which queries dba_tables and then uses dynamic sql to drop some tables from a schema (lets assume schema name ABC).
When I execute this procedure, i receive ORA-01031: Insufficient Privileges error.
If I execute same code as a PL/SQL box (not procedure), I am able to run this code and drop all the tables which meet criteria.
Any idea why oracle does not allow a procedure in SYSTEM schema to drop these tables from another schema? and letting me drop from PL/SQL block.
Salman