Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: DBMS_STATS Error
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 DBAReceived on Mon Oct 24 2005 - 09:10:18 CDT___________________________________________________________________ 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
![]() |
![]() |