dbTalk Databases Forums  

Transposing Excel file using ActiveX Transformations

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


Discuss Transposing Excel file using ActiveX Transformations in the microsoft.public.sqlserver.dts forum.



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

Default Transposing Excel file using ActiveX Transformations - 01-19-2005 , 10:53 AM






Normally when you read in an Excel file through DTS you read it in by row. I
have a file that is setup as a cross tab report that I need to read in. This
is how it is in the spreadsheet:

Jan 05
Rebate Rate .017
Int Rate .010

In the database I want it like this

Jan05 Rebate Rate .017
Jan05 Int Rate .010

Can somebody please get me started on the code for this? I would appreciate
it.

THANKS

Reply With Quote
  #2  
Old   
Ilya Margolin
 
Posts: n/a

Default Re: Transposing Excel file using ActiveX Transformations - 01-20-2005 , 07:34 AM






Andy,

Transposing would be:

Rebate Rate Int Rate
Jan05 .017 .010

Ilya

"Andy" <Andy (AT) discussions (DOT) microsoft.com> wrote

Quote:
Normally when you read in an Excel file through DTS you read it in by row.
I
have a file that is setup as a cross tab report that I need to read in.
This
is how it is in the spreadsheet:

Jan 05
Rebate Rate .017
Int Rate .010

In the database I want it like this

Jan05 Rebate Rate .017
Jan05 Int Rate .010

Can somebody please get me started on the code for this? I would
appreciate
it.

THANKS



Reply With Quote
  #3  
Old   
Andy
 
Posts: n/a

Default Re: Transposing Excel file using ActiveX Transformations - 01-20-2005 , 12:37 PM



Ok so I used the wrong terminology. I realized that after I posted it. Can
somebody please help me out with what I am trying to do here?

Thanks a lot!!!!

"Ilya Margolin" wrote:

Quote:
Andy,

Transposing would be:

Rebate Rate Int Rate
Jan05 .017 .010

Ilya

"Andy" <Andy (AT) discussions (DOT) microsoft.com> wrote in message
news:CE0EFC3A-D488-4EE5-B7FA-2FAFF7D16548 (AT) microsoft (DOT) com...
Normally when you read in an Excel file through DTS you read it in by row.
I
have a file that is setup as a cross tab report that I need to read in.
This
is how it is in the spreadsheet:

Jan 05
Rebate Rate .017
Int Rate .010

In the database I want it like this

Jan05 Rebate Rate .017
Jan05 Int Rate .010

Can somebody please get me started on the code for this? I would
appreciate
it.

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.