Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Error when running DBMS_DDL.ANALYZE_OBJECT in PL/SQL package

Error when running DBMS_DDL.ANALYZE_OBJECT in PL/SQL package

From: Gunawan, Raymond Suryodiono <rgunawan_at_zsassociates.com>
Date: Wed, 15 Aug 2001 15:05:48 -0500
Message-ID: <3B7AD61C.66CACBBB@zsassociates.com>


I am trying to do an 'analyze tabe <table_name> compute statistics' through a PL/SQL package.
I use:

dbms_ddl.analyze_object('TABLE', v_output_tablespace, v_just_table_name, 'COMPUTE'); I always get an error message saying that I don't have sufficient priviliges to do this,
although running analyze table through sqlplus never cause a problem

Am I using a wrong method for this?

Thanks. Received on Wed Aug 15 2001 - 15:05:48 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US