dbTalk Databases Forums  

Troubles with DBMS_XMLGEN

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss Troubles with DBMS_XMLGEN in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Francesco Sblendorio
 
Posts: n/a

Default Troubles with DBMS_XMLGEN - 02-10-2004 , 07:51 AM






I tried this piece of code on Oracle 9.2.2 and 9.0.1 (SQL*Plus):

-----------------------------------------------------------------
begin
dbms_output.put_line(dbms_xmlgen.getxml('select 1 from dual'));
end;
-----------------------------------------------------------------

But... while on the 9.2.2 all is O.K., on the 9.0.1 the following
error message is raised:

-----------------------------------------------------------------
begin
*
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: character to number
conversion error
ORA-06512: at line 2
-----------------------------------------------------------------

....while there's no reason for this kind of error.

Can someone help me to understand the reason of this?

Thanks in advance.

Reply With Quote
  #2  
Old   
Daniel Morgan
 
Posts: n/a

Default Re: Troubles with DBMS_XMLGEN - 02-10-2004 , 08:33 AM






Francesco Sblendorio wrote:

Quote:
I tried this piece of code on Oracle 9.2.2 and 9.0.1 (SQL*Plus):

-----------------------------------------------------------------
begin
dbms_output.put_line(dbms_xmlgen.getxml('select 1 from dual'));
end;
-----------------------------------------------------------------

But... while on the 9.2.2 all is O.K., on the 9.0.1 the following
error message is raised:

-----------------------------------------------------------------
begin
*
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: character to number
conversion error
ORA-06512: at line 2
-----------------------------------------------------------------

...while there's no reason for this kind of error.

Can someone help me to understand the reason of this?

Thanks in advance.
9.0.1 was effectively a Beta? Don't use it.

--
Daniel Morgan
http://www.outreach.washington.edu/e...ad/oad_crs.asp
http://www.outreach.washington.edu/e...oa/aoa_crs.asp
damorgan@x.washington.edu
(replace 'x' with a 'u' to reply)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.