dbTalk Databases Forums  

Scientific notation to SQL Server...

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


Discuss Scientific notation to SQL Server... in the microsoft.public.sqlserver.dts forum.



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

Default Scientific notation to SQL Server... - 10-15-2003 , 10:39 AM






Hi,
I'm trying to load a CSV file into SQL Server 2000 database table. I'm using
Microsoft Text-Treiber provider to load CSV. It works fine except that when
it encounters a scientific notation number (2.554E+6) on CSV file it loads
it in SQL Server as just 2 (first digit) and truncates everything after the
dot. I tried to change destination column datatype to all possible numeric
formats (number, money, decimal, float....) and it doesn't work...

Any idea on how to let DTS know that it's a large number in scientific
format and it should treat it as a 2,554,000 not just 2 ?

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.