dbTalk Databases Forums  

Read Excel-data from columns instead of rows

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


Discuss Read Excel-data from columns instead of rows in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mhuhn.de@gmail.com
 
Posts: n/a

Default Read Excel-data from columns instead of rows - 03-29-2005 , 06:16 AM






I have to read an Excel-File into DTS to append data to a SQL database.
Within the Excel file I have my data in columns and not in Rows. Is
there a possibility to read this directly through JET OLEDB?


Reply With Quote
  #2  
Old   
Simon Worth
 
Posts: n/a

Default Re: Read Excel-data from columns instead of rows - 03-29-2005 , 09:28 AM






If this is a one off, then copy the data in the excel file and transpose
it so that it's readable by DTS.
DTS is reading row by row, there isn't a mechanism that I can think of
that would allow you to put columns into rows (easily if at all).
Transposing the data would be the easiest way to go.

Simon Worth

mhuhn.de (AT) gmail (DOT) com wrote:
Quote:
I have to read an Excel-File into DTS to append data to a SQL database.
Within the Excel file I have my data in columns and not in Rows. Is
there a possibility to read this directly through JET OLEDB?


Reply With Quote
  #3  
Old   
mhuhn.de@gmail.com
 
Posts: n/a

Default Re: Read Excel-data from columns instead of rows - 03-29-2005 , 12:50 PM



Thanks for your answer. Unfortunately it is a frequently automatically
updated file so I have to think about writing sth. like an
OLEDB-Wrapper to do the Transposition.


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.