Could someone point me to a source to learn how to create a file out of a result set. I would like to automate a query and have it create the file without my intervention.
I am interested in the stored proc that you have mentioned. I need to create a scheduled job that calls a proc that dumps a result set into a .txt or .csv or excel workbook file in a user specifiable location. As an absolute bonus extra, i'd like to be able to append -getdate() to the file name so i don't get any conflicts (hence why I'm trying to do it in SQL - to use the date time functionality). Would you either be kind enough to post the proc for me, or I'll create a hotmail address that you can send it to if you'd like to keep anon.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.