Solved

Exporting an XML record to a file

Posted on 2014-03-03
4
251 Views
Last Modified: 2016-02-10
I am looking for the best way to export a record in a table that has been saved as XML.  I have available to me SSIS.  What would be the best way to do this?  Any pointers to webpages or articles would also be very helpful to me.
0
Comment
Question by:Alyanto
  • 2
4 Comments
 
LVL 11

Expert Comment

by:Giladn
ID: 39900367
0
 
LVL 1

Author Comment

by:Alyanto
ID: 39900622
It is an export from XML to a file.
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 500 total points
ID: 39902260
If it is really and Xml document saved in a column, then it should be as simple as creating an export package with a query like this:
SELECT YourXmlColumn
FROM YourTable
WHERE <add your condition here>
0
 
LVL 1

Author Closing Comment

by:Alyanto
ID: 39905816
Hi Anthony
Many thanks for this simple and effective solution.

/Aly
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how the fundamental information of how to create a table.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question