Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 329
  • Last Modified:

ssis job

I have already done some data flow task and sql task in SSIS and saved it. Nw I want to do this:
Open a destination workbook and grab all rows from “table1” in sql server and dump that in cell “A3” of worksheet “dataDump” of the destination workbook – now please tell me how I can accomplish this in the same SSIS job that I created. Do i write a c# code and insert a c# task in the SSIS job? How to do that?

Thank you
0
Rayne
Asked:
Rayne
1 Solution
 
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
>dump that in cell “A3” of worksheet “dataDump” of the destination workbook
1   In your Excel file, pre-data pump, create a named range that is cell A3 for whatever tab we're talking about.
2   In your SSIS package, make sure the Excel connection specifically refers to the above named range.

>Do i write a c# code and insert a c# task in the SSIS job? How to do that?
A script task is not necessary.
0
 
RayneAuthor Commented:
Thank you Jim, the destination excel  will be a .xlsm file type - this excel connection  will work for that?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now