Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle to XML Conversion
THANKS Richard. I tried to foolow your instructions. Here is what I
did:
DBMS_XMLGEN.GETXML('SELECTID,FIRST_NM,LAST_NM,
SQL> spool off
As seen above it shows only ONE Record and that too it is incomplete
wonder why..... do I have to run rhis in a LOOP to DISPLAY ALL
RECORDS.....?
Richard Kuhler <noone_at_nowhere.com> wrote in message news:<NNdUb.7557$ow4.3510_at_twister.socal.rr.com>...
> Hari Om wrote:
>
> > Can any one give me some sample examples of Oracle to XML Conversion?
> > Thanks!
> >
> <snip>
>
> I'm not sure what you are asking for exactly. Here's a demonstration of
> using DBMS_XMLGEN like I suggested ...
>
> select dbms_xmlgen.getxml('select * from all_tables') from dual
>
> <?xml version="1.0"?>
> <ROWSET>
> <ROW>
> <OWNER>SYS</OWNER>
> <TABLE_NAME>AUDIT_ACTIONS</TABLE_NAME>
> <TABLESPACE_NAME>SYSTEM</TABLESPACE_NAME>
> ...
Received on Thu Feb 05 2004 - 14:49:05 CST
![]() |
![]() |