Please start any new threads on our new site at http://forums.sqlteam.com. 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
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

sanjay5219
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

3873 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

visakh16
Very Important crosS Applying yaK Herder

India
52326 Posts

Posted - 05/30/2013 :  01:32:02  Show Profile  Reply with Quote
http://visakhm.blogspot.in/2012/10/shred-data-as-well-as-metadata-from-xml.html

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
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.04 seconds. Powered By: Snitz Forums 2000