FOR XML PATH Query results to file with SSIS
- by whimsql
In SSMS I've gotten my for xml path query written and it's beautiful.
I put it in an "Execute SQL Task" in the Control Flow, set the resultset to XML.
Now how to I get the results into an actual xml file that I can turn around and FTP to a third party?
This should have been so easy! I would put the XML into a variable but we are looking at a HUGE file, possibly 100mb+
Do I need to use a Script Task? (I'd like to avoid that if there is another option.)