Search This Blog

Thursday, January 26, 2012

ORA-19206: Invalid value for query or REF CURSOR parameter ORACLE 9i while export

Connected to: Oracle9i Release 9.2.0.4.0 - Production
JServer Release 9.2.0.4.0 - Production
Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user STERLIVE
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user STERLIVE
About to export STERLIVE's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
EXP-00056: ORACLE error 19206 encountered
ORA-19206: Invalid value for query or REF CURSOR parameter
ORA-06512: at "SYS.DBMS_XMLGEN", line 83
ORA-06512: at "SYS.DBMS_METADATA", line 345
ORA-06512: at "SYS.DBMS_METADATA", line 410
ORA-06512: at "SYS.DBMS_METADATA", line 449
ORA-06512: at "SYS.DBMS_METADATA", line 1156
ORA-06512: at "SYS.DBMS_METADATA", line 1141
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully

We are receiving the above error message while exporting database in oracle 9i.

Solution: run the catmeta.sql at sys user ($ORACLE_HOME/rdbms/admin/catmeta.sql)

No comments: