Discussion:
bcp to xml
(too old to reply)
Matthew Butler
2007-11-18 16:11:22 UTC
Permalink
can someone please advise me on the correct syntax to bcp export executing a
stored procedures results to xml

I know it begins

bcp "exe sp_procedure" queryout

but unser on the rest of the syntax

many thanks
Andrea Montanari
2007-11-19 11:26:15 UTC
Permalink
hi,
Post by Matthew Butler
can someone please advise me on the correct syntax to bcp export
executing a stored procedures results to xml
I know it begins
bcp "exe sp_procedure" queryout
but unser on the rest of the syntax
many thanks
please have a look at the very bottom of the page
http://www.perfectxml.com/articles/XML/ExportSQLXML.asp

regards
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz http://italy.mvps.org
DbaMgr2k ver 0.21.0 - DbaMgr ver 0.65.0 and further SQL Tools
--------- remove DMO to reply
Loading...