Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: dbms_metadata.get_ddl error / 9206 / solaris8

Re: dbms_metadata.get_ddl error / 9206 / solaris8

From: hpuxrac <johnbhurley_at_sbcglobal.net>
Date: 10 Sep 2006 16:15:06 -0700
Message-ID: <1157930106.557751.12650@h48g2000cwc.googlegroups.com>

tdk_at_dodgeit.com wrote:
> hello,
>
> trying to use dbms_metadata package w/ views and getting the following
> :
>
> sql> select dbms_metadata.get_ddl('VIEW', '<myViewName>') from dual;
>
> ERROR:
> 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
> "
> "
> "
> "
> " : at line 1
>
>
> Any ideas why get_ddl doesnt work on views but does on tables?

Maybe it's maintenance related a number of bugs and fixes to that package in the 9.x patchsets.

Do you want to try putting in 9208 in a test system and see if it goes away? Received on Sun Sep 10 2006 - 18:15:06 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US