dbTalk Databases Forums  

Excel inmport troouble with numeric/test data

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


Discuss Excel inmport troouble with numeric/test data in the microsoft.public.sqlserver.dts forum.



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

Default Excel inmport troouble with numeric/test data - 06-09-2005 , 12:10 PM







I'm trying to import data from Excel 2000 file with DTS in MSSql2000. I keep
getting NULL values during import.

I have been using this post mostly
http://www.sqldts.com/default.aspx?254
I've been trying to use the third option of using an ActiveX script. But it
doesn't have any effect for me. If I enter invalid data source name it will
give me error message.


I changed the registry and the import worked fine
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engi nes\Excel\TypeGuessRows
= 0. But I hate to change resigtry on other peoples machine. Is there a way
to change the
registry TypeGuessRows in DTS while the package runs and then back again
after is finishes?



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

Default Re: Excel inmport troouble with numeric/test data - 06-09-2005 , 12:54 PM






I think everybody hates to do this as well but I don't know that if you were
able to do this in the package and then change it back that it would be any
better, What if the package fails?



--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


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

Quote:
I'm trying to import data from Excel 2000 file with DTS in MSSql2000. I
keep
getting NULL values during import.

I have been using this post mostly
http://www.sqldts.com/default.aspx?254
I've been trying to use the third option of using an ActiveX script. But
it
doesn't have any effect for me. If I enter invalid data source name it
will
give me error message.


I changed the registry and the import worked fine
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engi nes\Excel\TypeGuessRows
= 0. But I hate to change resigtry on other peoples machine. Is there a
way
to change the
registry TypeGuessRows in DTS while the package runs and then back again
after is finishes?





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

Default Re: Excel inmport troouble with numeric/test data - 06-09-2005 , 01:29 PM



Well, if I change verything back to original way I get the nulls, then if I
change
the registry to 0 I will not get nulls. But I was hoping for a pure DTS
answer. If
the package fails then nothing happens.

"Allan Mitchell" wrote:

Quote:
I think everybody hates to do this as well but I don't know that if you were
able to do this in the package and then change it back that it would be any
better, What if the package fails?



--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


"Mike" <Mike (AT) discussions (DOT) microsoft.com> wrote in message
news:6124B4E9-6873-4A79-A1B1-E25D809A2E32 (AT) microsoft (DOT) com...

I'm trying to import data from Excel 2000 file with DTS in MSSql2000. I
keep
getting NULL values during import.

I have been using this post mostly
http://www.sqldts.com/default.aspx?254
I've been trying to use the third option of using an ActiveX script. But
it
doesn't have any effect for me. If I enter invalid data source name it
will
give me error message.


I changed the registry and the import worked fine
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engi nes\Excel\TypeGuessRows
= 0. But I hate to change resigtry on other peoples machine. Is there a
way
to change the
registry TypeGuessRows in DTS while the package runs and then back again
after is finishes?






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.