Solved

XML to SQL

Posted on 2011-09-19
2
368 Views
Last Modified: 2012-08-14
I have taken one of my XML files inside of MS SQL server Management studio and I have told it to create xml schema now how can I take that schema and use it on 50 + XML documents and import them into a single SQL database?
xmlschemaD-F.xsd
0
Comment
Question by:goretailpro
  • 2
2 Comments
 
LVL 39

Accepted Solution

by:
lcohan earned 500 total points
ID: 36563346
Please see my solution how to import XML into SQL from link below as I think this will definitely help. You can have a SQL SP with parameters that does it all for you.

http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/Q_26393219.html?sfQueryTermInfo=1+10+tmpcontact
0
 
LVL 39

Expert Comment

by:lcohan
ID: 36563368
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now