Tag Archives: XML

Export XML from SQL Server Using bcp

*** Update – see the comments below for a solution to an issue with unexpected CR/LF characters in the XML file generated with this method. Thanks to reader Anthony for diagnosing the issue and providing the solution. *** A recent project at work included a requirement to generate a well-formed XML file from the output […]