Solved

ssis job

Posted on 2014-03-21
2
297 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
2 Comments
 
LVL 65

Accepted Solution

by:
Jim Horn earned 500 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

791 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