Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 4th, 2004, 01:44 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 245
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to Export SQL Server Table to XML file???

Hello
I am trying to export a SQL Server 2000 table to XML file. When I open DTS import/export wizard there is no option in Destination section for XML. How do I do this???

 
Old October 4th, 2004, 03:52 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

It's surprising isn't it that there's no direct built-in support for this. For a pretty comprehensive list of the options see http://www.PerfectXML.com/Articles/XML/ExportSQLXML.asp

IMO the bcp option is the most useful general way. Although the sp_makewebtask way can be good too if your xml is small and you have sysadmin rights!

hth
Phil





Similar Threads
Thread Thread Starter Forum Replies Last Post
Import a XML file into SQL Server tables Cha BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 0 April 1st, 2008 09:54 PM
scheduled export to XML file from sql 2005 jjhm93 XML 0 November 28th, 2006 07:02 AM
generate XML from SQL server 2000 table sasidhar79 XML 2 August 3rd, 2005 11:05 AM
generate XML from SQL server 200 table sasidhar79 SQL Server DTS 0 August 2nd, 2005 04:47 PM
inserting some data from xml file to sql server ak Classic ASP XML 1 February 25th, 2004 10:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.