Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Friday, July 28, 2017

Need help exporting to XML

SQLServerCentral » Latest topics
Need help exporting to XML
I have a query and for some reason I can't get this to work.

bcp "select [fpono] as '@ID', [fpono], [fstatus] from #postatus for XML PATH('PO'), ROOT('POStatus')"

QueryOut

No comments: