Advertisement

05.27.2008 at 01:30PM PDT, ID: 23436255
[x]
Attachment Details

SSIS Excel Destination Problem

Asked by thecruz in SQL Server 2005

Tags: SQL

I created a simple SSIS package that takes data from a database using a query and dumping it to an excel file.  I've added 2 "Excecute SQL Tasks" to the Control flow task.  One to create the table in excel and one to re - create it.  my syntax is as follows:
first Task:
drop table [OpenCalls$]

Second Task:

create table [OpenCalls$]
(
CustomerStoreNumber int,
CustomerOpenedDateTime nchar(16),
CustomerClosedDateTime nchar(16),
HowLong int,
CustomerTicketNumber int,
FSMSNumber varchar(20),
IssueProblemDescription varchar(50),
IssueTrackingDescription varchar(50),
ManufacturerName varchar(20),
UserName varchar(20)
)

When i run these 2 tasks this is what happens:
    1.  All the Column headers are removed <--- Desired Result.
    2. The data gets removed from the sheet <--- Desired Result.
    3. The Column headers are re-created <--- Desired Result.
    4. The data get re-populated but not in their corresponding row numbers <--- Not a desired result.
My goal is to replace the rows with the new data, but the new data looks like is being appended under empty rows.

I cant think of anything else i can do to fix this.  Has anyone of you guys ever run into this issue?  Please Help

Thanks in advance.


Start Free Trial
 
 
[+][-]05.28.2008 at 04:16AM PDT, ID: 21659346

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 06:08AM PDT, ID: 21659987

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 06:12AM PDT, ID: 21660021

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 07:55AM PDT, ID: 21660978

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 08:53AM PDT, ID: 21661581

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 11:04AM PDT, ID: 21662711

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 01:36PM PDT, ID: 21664131

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 05:04PM PDT, ID: 21665311

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: SQL Server 2005
Tags: SQL
Sign Up Now!
Solution Provided By: mark_wills
Participating Experts: 2
Solution Grade: B
 
 
[+][-]05.29.2008 at 08:04PM PDT, ID: 21674975

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.10.2008 at 09:57PM PDT, ID: 21756894

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.11.2008 at 02:55AM PDT, ID: 21758274

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628