October 10, 2011 at 3:51 am
Hello all,
I need to create an xml file output from data in my 2008R2 database, ideally automated by a daily job. However, I have struggled to find a scalable solution. Using SSIS to write FOR XML statement to a variable, and then write variable to a file was the best i could do.
Time is getting scarce now, and I need a solution. Can anyone (please) point me in a direction for any software that can do this automatically?
If I am barking up the wrong tree, then that advice would be appreciated too!
Thanks
A
October 10, 2011 at 9:51 am
I think you could go a few ways with this. One would be to create a sql plan that would write the query for you then use the FOR XML AUTO (or RAW can't remember). The other would be to use some script like vb or powershell that would pull the data and use windows schedule tasks.
Here is a good resource for XML and using vbscript. SQLXML 4.0 Programming Concepts
October 12, 2011 at 3:21 am
This was removed by the editor as SPAM
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply