dbTalk Databases Forums  

Blank rows in Excel worksheet when exporting data

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Blank rows in Excel worksheet when exporting data in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John
 
Posts: n/a

Default Blank rows in Excel worksheet when exporting data - 05-06-2004 , 12:00 PM






Hi,

I'm trying to export data from SQL 7.0 to an "Excel 8" spreadsheet. I
have a DTS package that "deletes and re-creates" the table/worksheet
in the Excel file and copies data to the spreadsheet.



What I find is that if the original worksheet had 10 rows of data,
then when I run the DTS package, the newly created worksheet has 10
blank rows followed by the copied data.



It seems like:



(1) rows 1 (with column headers) isn't touched at all

(2) existing rows are cleared of its contents

(3) new data is _appended_ onto the succeeding rows



How can I get around this problem?



Thanks.







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.