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

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 XMl Upload
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

240 Posts

Posted - 05/29/2013 :  15:55:05  Show Profile  Reply with Quote
Hi All,
I have created one upload in ASP.Net which upload XML file into SQL Table which is having XML data type. Now I have to read this data and move them into diffrent tables.

Please suggest how to proceed

James K
Flowing Fount of Yak Knowledge

3865 Posts

Posted - 05/29/2013 :  15:57:00  Show Profile  Reply with Quote
You will have to shred the XML. SQL has several methods that can be used to shred XML data; how you write the query to shred it depends on the schema of the XML data. This article has some information: http://www.sqlservercentral.com/articles/XML/87685/ Also, MSDN documentation has several examples.
Go to Top of Page

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 05/30/2013 :  01:32:02  Show Profile  Reply with Quote

SQL Server MVP
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