dbTalk Databases Forums  

Export from xls file

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


Discuss Export from xls file in the microsoft.public.sqlserver.dts forum.



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

Default Export from xls file - 03-10-2005 , 09:45 PM






Hi all:
I used DTS to import data from xls file and i choose Microsoft Excel
97 - 2000 as connection, import xls data to server 2003 database.
The problem is that all data from xls would consider as numeric when
i doing transformtions to sql server. so if any letter in xls that would
transfer to sql database be a null.
so what i want to do that is anyone knows how to cast data to varchar
when data are from xls.

Cheers

nick



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Export from xls file - 03-11-2005 , 12:35 AM






Might you actually be seeing this?

Excel Inserts Null Values
(http://www.sqldts.com/default.aspx?254)



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


Quote:
Hi all:
I used DTS to import data from xls file and i choose Microsoft Excel
97 - 2000 as connection, import xls data to server 2003 database.
The problem is that all data from xls would consider as numeric when
i doing transformtions to sql server. so if any letter in xls that would
transfer to sql database be a null.
so what i want to do that is anyone knows how to cast data to varchar
when data are from xls.

Cheers

nick


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.