Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I import a physical file with XML-data into MS-SQL?

Status
Not open for further replies.

fvlo

Programmer
Jul 29, 2003
5
0
0
NL
I want to import data coming from another system into my SQL-database.
This data is in XML-format in a physical file and this file can be very big.

I have searched the internet and MSDN but cannot find a way to do that from within a SQL-procedure.

Can anyone tell me how I should do this or where to find the info needed?

 
I am having the same issue and would appreciate help here as well.

Thank you in advance.
 
Quite possible with sp_xml_preparedocument and OPENXML clause... but that's just the top of an iceberg :(
 
Thanks for your timely reply. I did try that, and you are so right just the tip...

I was able to do it through VBScript and ADO.

 
mbeth6 can u please show us how its done..I have also the same issue
 
I too am having problems using OPENXML with a XML file. Perhaps by replying to this, the thread will surface to the top again and perhaps someone who understands OPENXML will help us.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top