Home » Developer & Programmer » Forms » how to generate XML data of SQL query through forms 10g (Oracle 11g, windows XP SP3)
icon5.gif  how to generate XML data of SQL query through forms 10g [message #590512] Fri, 19 July 2013 01:12 Go to next message
5vinod
Messages: 12
Registered: June 2012
Location: chennai
Junior Member
Hi all,
I have got requirement to generate a .XML format of a select query in a particular folder in server.
The XML coding of a select query i got through DBMS_XMLGEN.getXML package.

SELECT DBMS_XMLGEN.getXML('SELECT * FROM EMPL_NEW') FROM dual

but through forms i am unable to create it!! and the result output should be saved as .xml in a particular folder in server...

anybody please help...

thanks in advance
Vinoth
Re: how to generate XML data of SQL query through forms 10g [message #590542 is a reply to message #590512] Fri, 19 July 2013 03:18 Go to previous messageGo to next message
Littlefoot
Messages: 21807
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
If it doesn't work directly from a form, perhaps you could try to put that SELECT statement into a SQL script, and then call the script from a form (using HOST built-in).
Re: how to generate XML data of SQL query through forms 10g [message #590570 is a reply to message #590542] Fri, 19 July 2013 05:51 Go to previous messageGo to next message
5vinod
Messages: 12
Registered: June 2012
Location: chennai
Junior Member
hi Thanks Littlefoot for your response!! can u tell briefly so that i could understand you Smile
Re: how to generate XML data of SQL query through forms 10g [message #590606 is a reply to message #590570] Fri, 19 July 2013 14:58 Go to previous message
Littlefoot
Messages: 21807
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I told you briefly already ...
Previous Topic: How to export a SQL to MS-EXCEL in FORMS
Next Topic: Scanned Documents in Oracle Forms
Goto Forum:
  


Current Time: Fri Apr 19 20:57:51 CDT 2024