rutgermons
asked on
oracle, database, 10, exporting to xml -export to file
folks
how can I export this following query using the DBMS_XMLGEN.GETXML function to a file in my C:\temp drive
Select DBMS_XMLGEN.GETXML (
'select WORKORDER.wonum,ASSET.ASSE TNUM,WORKO RDER.DESCR IPTION,
(SELECT LOCATIONS.LOCATION FROM LOCATIONS WHERE WORKORDER.LOCATION=LOCATIO NS.LOCATIO N)AS GG
from workorder,ASSET
where WORKORDER.ASSETNUM=ASSET.A SSETNUM AND WORKORDER.status =''COMP'' AND
WORKORDER.WORKTYPE=''PM''' )
from dual;
all help will do
how can I export this following query using the DBMS_XMLGEN.GETXML function to a file in my C:\temp drive
Select DBMS_XMLGEN.GETXML (
'select WORKORDER.wonum,ASSET.ASSE
(SELECT LOCATIONS.LOCATION FROM LOCATIONS WHERE WORKORDER.LOCATION=LOCATIO
from workorder,ASSET
where WORKORDER.ASSETNUM=ASSET.A
WORKORDER.WORKTYPE=''PM'''
from dual;
all help will do
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
r