From oracle-l-bounce@freelists.org Mon Oct 24 09:02:52 2005 Return-Path: Received: from air891.startdedicated.com (root@localhost) by orafaq.com (8.12.10/8.12.10) with ESMTP id j9OE2nwM013620 for ; Mon, 24 Oct 2005 09:02:49 -0500 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j9OE2avX013564 for ; Mon, 24 Oct 2005 09:02:38 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 561C120CD1A; Mon, 24 Oct 2005 08:54:26 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06503-05; Mon, 24 Oct 2005 08:54:26 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id C85F120CD04; Mon, 24 Oct 2005 08:54:25 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5D8A2.21273018" Subject: RE: DBMS_STATS Error Date: Mon, 24 Oct 2005 14:52:10 +0100 Message-ID: <1C6E45ADB2EC324F9553E468ABFE0F63030F0FEA@UKWMXM04> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DBMS_STATS Error Thread-Index: AcXYoM0mPLapCIyyRK26vJiXAFyDvwAAUnDg From: "Hallas, John, Tech Dev" To: , X-OriginalArrivalTime: 24 Oct 2005 13:52:11.0794 (UTC) FILETIME=[22139F20:01C5D8A2] X-archive-position: 27418 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: John.Hallas@gb.vodafone.co.uk Precedence: normal Reply-To: John.Hallas@gb.vodafone.co.uk X-list: oracle-l X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net X-mailscan-MailScanner-Information: Please contact the ISP for more information X-mailscan-MailScanner: Found to be clean X-MailScanner-From: oracle-l-bounce@freelists.org X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on air891.startdedicated.com X-Spam-Level: X-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL,BAYES_00,HTML_70_80, HTML_FONTCOLOR_UNKNOWN,HTML_MESSAGE autolearn=no version=2.63 ------_=_NextPart_001_01C5D8A2.21273018 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Are you wrapping it with an execute call? =20 execute dbms_stats.gather_table_stats(ownname=3D> 'OPS$ORACLE',tabname=3D>'TEST',partname=3D>NULL); =20 PL/SQL procedure successfully completed. =20 =20 _____ =20 From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] On Behalf Of DBA Deepak Sent: 24 October 2005 14:41 To: oracle-l@freelists.org Subject: DBMS_STATS Error =20 Hi All, =20 Getting error while executing the following... =20 SQL> begin 2 dbms_stats.gather_table_stats(ownname=3D> 'USER01', tabname=3D> 'MY_TBL', partname=3D> NULL); 3 end; 4 / begin * ERROR at line 1: ORA-06521: PL/SQL: Error mapping function=20 ORA-06512: at "SYS.DBMS_STATS", line 9643=20 ORA-06512: at "SYS.DBMS_STATS", line 9657=20 ORA-06512: at line 2=20 =20 Any pointers to the problem...? --=20 Regards, Deepak Oracle DBA=20 ------_=_NextPart_001_01C5D8A2.21273018 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Are = you wrapping it with an execute call?

 

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

 

PL/SQL procedure = successfully completed.

 

 


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

 

Hi All,

 

Getting error while executing = the following...

 

SQL>       begin
  2  dbms_stats.gather_table_stats(ownname=3D> 'USER01', tabname=3D> 'MY_TBL', partname=3D> 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

------_=_NextPart_001_01C5D8A2.21273018-- -- http://www.freelists.org/webpage/oracle-l