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: <Michael.Coll-Barth_at_VerizonWireless.com>
Date: Mon, 24 Oct 2005 09:55:03 -0400
Message-Id: <20051024135917.A1BB320C404@turing.freelists.org>


Deepak,  

Try sticking a 'DECLARE' statement before your pl/sql block.  

Michael  

-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]On Behalf Of DBA Deepak
Sent: Monday, October 24, 2005 9:41 AM
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 


___________________________________________________________________ The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. -- http://www.freelists.org/webpage/oracle-l

Received on Mon Oct 24 2005 - 09:10:18 CDT

Original text of this message

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