Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ssis job

Posted on 2014-03-21
2
Medium Priority
?
309 Views
Last Modified: 2016-02-10
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
Comment
Question by:Rayne
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 66

Accepted Solution

by:
Jim Horn earned 1500 total points
ID: 39946709
>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
 

Author Comment

by:Rayne
ID: 39947465
Thank you Jim, the destination excel  will be a .xlsm file type - this excel connection  will work for that?
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question