Home » RDBMS Server » Server Utilities » DBMS_RULE_EXP_RULES and DBMS_METADATA problem in export.
DBMS_RULE_EXP_RULES and DBMS_METADATA problem in export. [message #71687] Wed, 18 December 2002 16:07 Go to next message
Nilu
Messages: 5
Registered: December 2002
Junior Member
following problem is facing by one of my friend.

he said
-----------
These are the messages i am getting , while taking export. Help me immediately. I have tried running catalog and catproc ,standard.sql etc. But still i am getting
the message.
G:DUMP>exp sys/sys@sdev file=G:DUMPSDEV_DEC17_11pm.DMP log=G:DUMPSDEV_DE
C17_11pm.LOG owner=sdev

Export: Release 9.2.0.1.0 - Production on Thu Dec 19 00:19:01 2002

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
server uses AL32UTF8 character set (possible charset conversion)

About to export specified users ...
. exporting pre-schema procedural objects and actions
EXP-00008: ORACLE error 1422 encountered
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "SYS.STANDARD", line 628
ORA-06512: at "SYS.DBMS_RULE_EXP_RULES", line 129
ORA-06512: at line 1
EXP-00083: The previous problem occurred when calling SYS.DBMS_RULE_EXP_RULES.sc
hema_info_exp
. exporting foreign function library names for user SDEV
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user SDEV
About to export SDEV's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
EXP-00056: ORACLE error 1422 encountered
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "SYS.DBMS_METADATA", line 474
ORA-06512: at "SYS.DBMS_METADATA", line 497
ORA-06512: at "SYS.DBMS_METADATA", line 649
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully

Thanks in Advance.,
Re: DBMS_RULE_EXP_RULES and DBMS_METADATA problem in export. [message #71691 is a reply to message #71687] Thu, 19 December 2002 06:51 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
it is a reported bug.
apply patchset 9.2.0.2.0.
I beleive it is fixed in this patch.
Re: DBMS_RULE_EXP_RULES and DBMS_METADATA problem in export. [message #71695 is a reply to message #71687] Fri, 20 December 2002 08:18 Go to previous message
Nilu
Messages: 5
Registered: December 2002
Junior Member
Thank you very much for your response. We could able to solve this problem. This problem is due to DUAL TABLE of system.
It is fetching more than one row from the table . If you are using any select statement from dual in procedures or packages ,
it is returning more than one row. We donot know how two rows are inserted in dual table . Hence we have truncated the DUAL TABLE and
inserted one dummy value like'x'.
insert into dual values('x');
Immediately the problem solved .we could able take the export . Because the procedures used in export packages are using select statements
from dual .
Previous Topic: Sql Loader Help
Next Topic: URGENT...Character set Problem while importing...
Goto Forum:
  


Current Time: Mon Dec 23 17:00:41 CST 2024