Hi
I'm trying to import data from Excel into SQL Server via DTS. The columns in the destination tables are all varchar(255).
I have a column in Excel where the values for all rows is 3.1, however this value becomes 3.100000000001 once it's been imported into SQL Server.
Can anyone shed some light on why this is happening? I've tried formatting the cells as text and re-entering the data, but it still happens. I was hoping that including "IMEX=1;" in the connection string would fix it (I had to do that for another problem, but unfortunately it didn't.
I'm using a straight datapump task, mapping the excel columns to the table columns without specifying a query.
ANY help would be greatly appreciated.
I'm trying to import data from Excel into SQL Server via DTS. The columns in the destination tables are all varchar(255).
I have a column in Excel where the values for all rows is 3.1, however this value becomes 3.100000000001 once it's been imported into SQL Server.
Can anyone shed some light on why this is happening? I've tried formatting the cells as text and re-entering the data, but it still happens. I was hoping that including "IMEX=1;" in the connection string would fix it (I had to do that for another problem, but unfortunately it didn't.
I'm using a straight datapump task, mapping the excel columns to the table columns without specifying a query.
ANY help would be greatly appreciated.