Viewing post 1 (of 2 total)
Don't know if its too late or not but here is an article that shows how to export data to csv from within a sql script.
http://www.sqlteam.com/article/exporting-data-programatically-with-bcp-and-xp_cmdshell
September 22, 2008 at 7:43 am
#874974