SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

khusiie
Yak Posting Veteran

USA
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.

visakh16
Very Important crosS Applying yaK Herder

India
52325 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:-

http://msdn2.microsoft.com/en-us/library/ms191184.aspx
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.05 seconds. Powered By: Snitz Forums 2000