GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Programming  >  XML

 Print  |  
Question:  XML to Oracle

Answer: How do you load data from XML file to a ORACLE table?


July 07, 2008 01:34:45 #1
 IanJoshua   Member Since: July 2008    Total Comments: 3 

RE: XML to Oracle
 

This is from XML to sqlserver

exce sp_xml_preparedocument @inthandle int output,@xmldocument

select * from openxml(@inthandle,'/root/customer',2)
with (customerid varchar(10),
      contactname varchar(20))

exec sp_xml_removedocument @inthandle

     

 

Back To Question