1
I need to save the result of a query in an XML through a job that will run scheduled daily in SQL Server. Procedure already brings the result in XML format with tags, in a variable. I just need to play the contents of this variable in XML. What is the best way to generate this XML? How I define the path that XML will be saved and how I define the file name?
Thanks!