GeekInterview.com
Series: Subject: Topic:
Question: 14 of 46

XML to Oracle

How do you load data from XML file to a ORACLE table?
Asked by: violet_wings_vamsi | Member Since Jan-2008 | Asked on: Mar 3rd, 2008

View all questions by violet_wings_vamsi

Showing Answers 1 - 1 of 1 Answers
IanJoshua

Answered On : Jul 8th, 2008

View all answers by IanJoshua

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

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.