Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Multiple Queries to excel with Variables

$
0
0

Hi, I'm pretty new to SSIS and don't know how to do what i want.

1. I have 9 queries that need to export each result set into a seperate worksheet in the same workbook in excel. I created a seperate DFT for each query and the package runs like i want it to. should i use seperate DFTs or build one DFT with multiple sources and destinations? although this will cause each query to run simultaneously rather than concurrently as they do now?

2. each query uses the same variables (store id) and (sales year). How do I implement those into the package so each DFT uses the variables in the WHERE statements

3. How do i delete the excel workbook at the start of the package? right now each time it runs it just adds the new data at the end of the worksheet.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>