Hi all,
I am new to SSIS. My project is to schedule SQL agent jobs to run thousands of stored procedures periodically and output the results to date-stamped .csv or Excel files on a share folder for managers to review.
I tried using SSIS package. It works fine with the simple stored procedure. But if the SP contains 1 or more temp tables, the package is hard to build and maintain.
I tried the BCP next, but it doesn't output the column headers.
Do you know which is the best way to handle this task, and how?
I am using SQL server 2012; Business intelligence for visual studio 2015.
Thanks for the help!