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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: DBMS_STATS Error

RE: DBMS_STATS Error

From: Hallas, John, Tech Dev <John.Hallas_at_gb.vodafone.co.uk>
Date: Mon, 24 Oct 2005 14:52:10 +0100
Message-ID: <1C6E45ADB2EC324F9553E468ABFE0F63030F0FEA@UKWMXM04>


Are you wrapping it with an execute call?  

execute dbms_stats.gather_table_stats(ownname=>
'OPS$ORACLE',tabname=>'TEST',partname=>NULL);
 

PL/SQL procedure successfully completed.    


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of DBA Deepak Sent: 24 October 2005 14:41
To: oracle-l_at_freelists.org
Subject: DBMS_STATS Error  

Hi All,  

Getting error while executing the following...  

SQL> begin
  2 dbms_stats.gather_table_stats(ownname=> 'USER01', tabname=>
'MY_TBL', partname=> NULL);

  3 end;
  4 /
 begin
*
ERROR at line 1:

ORA-06521: PL/SQL: Error mapping function 
ORA-06512: at "SYS.DBMS_STATS", line 9643 
ORA-06512: at "SYS.DBMS_STATS", line 9657 
ORA-06512: at line 2 

 

Any pointers to the problem...?

-- 
Regards,

Deepak
Oracle DBA 


--
http://www.freelists.org/webpage/oracle-l
Received on Mon Oct 24 2005 - 09:02:52 CDT

Original text of this message

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