C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » XML »

Export sqlserver2005 to xml


Posted Date: 18 Sep 2009      Posted By: kalaiselvi      Member Level: Silver     Points: 1   Responses: 2



Hi all,

How to export the data in the sqlserver table to xml format.

Regards,
Kalai





Responses

Author: Shivshanker Cheral    18 Sep 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

refer

http://www.15seconds.com/issue/001102.htm


You can always use the BCP tool and wrap that into a batch file and then add an "Execute Process Task" to your package.

bcp "Select * from dbo..table FOR XML RAW" queryout c:\temp\test.xml -Soc-db -Uuser -Ppassword -c -r -t



Author: Pooja    24 Sep 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

Hi,

You can get the code to merge data from mdb file to XML format from one of my code snippets posted on dotnetspider. Below is the link which might help you.

http://www.dotnetspider.com/resources/29556-How-to-create-serialize-an-XML-file-from-xsd-and-.aspx

Cheers.



Post Reply
You must Sign In to post a response.
Next : Convert xml file in my formet
Previous : How would i create a dynamic xml file in asp.net in the following format??
Return to Discussion Forum
Post New Message
Category: XML

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use