Export SQL data to XML document

webmasterbeta

New Member
When you execute a SQL query or Stored Proc using FOR XML AUTO, how can Isave the output(recordset) to an .xml file ? My goal is to execute a queryand store output to .xml file(s) locally on SQL box which can then be distributedanywhere.
 
Back
Top