Solved

Exporting an XML record to a file

Posted on 2014-03-03
4
255 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
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.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

690 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