Solved

Exporting an XML record to a file

Posted on 2014-03-03
4
252 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
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.

685 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