Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 how to convert (import) xml files into sql server
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Yak Posting Veteran

78 Posts

Posted - 04/15/2008 :  11:43:00  Show Profile  Reply with Quote
Can anyone tell me how to convert XML files into SQL server 2005?
i have so many XML files and want to convert it into SQL server.

thanks for ur help.

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 04/15/2008 :  11:50:12  Show Profile  Reply with Quote
You mean store it in sql 2005? You can use a field with built in datatype xml to store the values in sql table. But make sure they are well formed else it will error. The bulk import of XML files to table can be done by means of BULK INSERT statement.Refer this article for more methods:-
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000