Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Error when running DBMS_DDL.ANALYZE_OBJECT in PL/SQL package
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
![]() |
![]() |