Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

FAST import/export of XML data into a Microsoft SQL Server database

Avatar of purplesoup
purplesoupFlag for United Kingdom of Great Britain and Northern Ireland asked on
DatabasesMicrosoft SQL Server
27 Comments1 Solution4149 ViewsLast Modified:
I want to be able to import and export large amounts of data from a SQL Server database using XML.

That is, I want the data exported in XML format, and the same data held as XML files to be imported back in again.

The important thing is that this needs to be very fast.

This needs to work for SQL Server 2005 and 2008.

There should also be no collation restrictions, so if I export from a database using one collation sequence, I can import into  another database with the same schema but with a different collation sequence.

Through Google I have just come across this article http://support.microsoft.com/kb/316005 which talks about a SQL Server Build Load component. I am not familiar with this, but if anyone has any experience of it, perhaps they can confirm if it is what I am looking for and if there are any gotchas or limitations?

I should also add that some of the data is held in binary format, it isn't all varchars, numbers and dates.
ASKER CERTIFIED SOLUTION
This problem has been solved!
Unlock 1 Answer and 27 Comments.
See Answers