Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 dts question (from excel to sql 7)

Author  Topic 

uri dimant
Starting Member

16 Posts

Posted - 2002-02-25 : 00:37:05
Hello.we are using sql7.nt4
i have excel file whit below structure
1 25
2 test
4 30
5 2
6 test1

when i create package to transfer this file to sqlserver
with below structure
col1 smallint
col2 varchar(20) allow null
i get in sql
1 25
2 null
4 30
5 2
6 null
why?,any ideas please
i have changed datatype of excel column to text but it still doesn't work.also i have tryed to write first row in excel file like 'test'
i thouth may be sql does recognaze first row(in my example 2) like numeric and try to insert it as numeric.it doesn't work too





   

- Advertisement -