dbTalk Databases Forums  

excel import

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


Discuss excel import in the microsoft.public.sqlserver.dts forum.



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

Default excel import - 08-16-2006 , 07:20 AM






Hi,

I'd like to import rows from an Excel File to an SQL Server 2005 table.
One column of my table is 500 varchar big and my Excel column contains
259 letters. The import task aborts because he has to truncate this
particular column. When loading all failed rows in another excel the
specific column is only 255 letters long.

How can I solve this problem?

Tanks Florian!


Reply With Quote
  #2  
Old   
florian
 
Posts: n/a

Default Re: excel import - 08-16-2006 , 07:53 AM






I used the SSIS Import Export wizard to design the data flow. After the
excel source it made a data conversion item where Input colomn and
output alias and the data type is listed (string [dt_str] length 500).

Should I configure something there?


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

Default Re: excel import - 08-16-2006 , 08:28 AM



I found an msdn article where the following registry has to be updated:


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engi nes\Excel

to solve my problem. Unfortunately it isn't installed under this path.
any ideas how to find it?

thanks

florian schrieb:

Quote:
I used the SSIS Import Export wizard to design the data flow. After the
excel source it made a data conversion item where Input colomn and
output alias and the data type is listed (string [dt_str] length 500).

Should I configure something there?


Reply With Quote
  #4  
Old   
Sue Hoegemeier
 
Posts: n/a

Default Re: excel import - 08-16-2006 , 09:28 AM



That's odd....you could try searching the registry for
values named TypeGuessRows
to try to locate the value in the registry.

-Sue

On 16 Aug 2006 06:28:09 -0700, "florian"
<florian.stammer (AT) gmail (DOT) com> wrote:

Quote:
I found an msdn article where the following registry has to be updated:


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engi nes\Excel

to solve my problem. Unfortunately it isn't installed under this path.
any ideas how to find it?

thanks

florian schrieb:

I used the SSIS Import Export wizard to design the data flow. After the
excel source it made a data conversion item where Input colomn and
output alias and the data type is listed (string [dt_str] length 500).

Should I configure something there?


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.