Home Forums Programming XML How can I show "type" in XML using SQL Server? RE: How can I show "type" in XML using SQL Server?

  • Meatloaf (10/23/2014)


    How is it possible to export this to a XML file? Do I need to use BCP and cmodify the code into a string?

    There are quite few ways, here is a bcp example

    😎

    bcp "(the XML Query)" queryout TheOutputFileName.xml -w -S(Server Name) -d(Database Name) -T