question

apple avatar image
apple asked

Output of SP to Excel

Hi! I need to produce an Excel file using the output of approximately 25 SP's in SSIS. I am thinking of creating variables of object type and storing the output of execute sql task in it .So in the final DFT how should I proceed with configuring them as sources? Any other suggestions in how to proceed about with this task Thanks a lot
ssis
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Grant Fritchey avatar image Grant Fritchey ♦♦ commented ·
This site runs on votes. For all helpful answers, indicate this by clicking on the thumbs up next to those answers. If any one answer lead to a solution, indicate this by clicking on the check box next to that answer.
0 Likes 0 ·
Fatherjack avatar image
Fatherjack answered
I am no regular user of SSIS but my preference would be to write out each result set to the Excel file as it completes rather than carry it in memory until the end. If the result sets are large and you have 25 of them then I would personally prefer to get that written to disk as soon as possible. I dont think it would be too tricky to built a ForEach loop that runs each procedure in turn and then creates a new sheet in your chosen workbook to store the result set.
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

mjharper avatar image
mjharper answered
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.