Solved

SQL 2005 - Data export to xml file

Posted on 2011-09-08
1
255 Views
Last Modified: 2012-05-12
Hello,

I am trying to provide a monthly feed to someone from data a SQL table.  is there a way to export to an xml file?
0
Comment
Question by:Hollie18502
1 Comment
 
LVL 8

Accepted Solution

by:
Forefront_Data_Solutions earned 500 total points
ID: 36506832
Here are some examples for using bcp to export to XML files:
http://msdn.microsoft.com/en-us/library/ms191184.aspx

I know that you can also use SSIS to export to XML files, so you might try doing an internet search for examples.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 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