Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> dbms_metadata.get_ddl question
When I try to run the command I get the following:
SQL> select dbms_metadata.get_ddl ('TABLE','STXL','SAPR3') from dual;
ERROR:
ORA-06502: PL/SQL: numeric or value error
ORA-31605: the following was returned from LpxXSLResetAllVars in
routine kuxslResetParams:
LPX-1: NULL pointer ORA-06512: at "SYS.UTL_XML", line 0 ORA-06512: at "SYS.DBMS_METADATA_INT", line 3722 ORA-06512: at "SYS.DBMS_METADATA_INT", line 4553 ORA-06512: at "SYS.DBMS_METADATA", line 458 ORA-06512: at "SYS.DBMS_METADATA", line 615 ORA-06512: at "SYS.DBMS_METADATA", line 1221 ORA-06512: at line 1
no rows selected
I had run initmeta.sql and catmeta.sql beforehand. This is what I am running on HP-UX 11i:
SQL> select * from v$version ;
BANNER
There are about 12000 hits for the phrase dbms_metadata.get_ddl [Results 1 - 10 of about 11,400 for dbms_metadata.get_ddl. (0.38 seconds] and 39 for LPX-1: NULL pointer, none that I can seem to apply. There is only one
Any suggestions?