Popular Posts

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

Thursday, July 27, 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: