Solved

Can an xml file/data be loaded into a SQL Server database?  If Yes how is that done?

Posted on 2014-10-08
2
74 Views
Last Modified: 2016-02-13
We have a large xml file that needs to be loaded into a SQL Server database/table. Is this possible and if Yes, how is it done? We have a production version which is SQL Server 2005 and a development version which is SQL Server 2012 R2.
0
Comment
Question by:tesla764
2 Comments
 
LVL 65

Accepted Solution

by:
Jim Horn earned 500 total points
ID: 40368307
Yes.  SSIS can handle it using an XML task, loading an XML file into a table for each entity in the file.
0
 

Author Comment

by:tesla764
ID: 40368318
Can you give me an example of how that is done?  What should I look for (files/procedures) that would accomplish this. I am in a situation where the previous person that took care of this is out on mediacl leave and left no documentation or information behind.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
My client sends data in an Excel file to me to load them into Staging database. The file contains many sheets that they have same structure. In this article, I would like to share the simple way to load data of multiple sheets by using SSIS.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

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

12 Experts available now in Live!

Get 1:1 Help Now