Hello,
I import Excel data to SQL Server. In my sql server table column 10 should only receive float values.
In the Excel sheet, column 10 is a calculation column which deals with values from other columns.
It can happen that in some excel sheets no value is shown in the first 10-20 rows (and most other rows) so that the row is empty but still has the underlying calculation.
When I try to import one of those sheets to the sql server I get a conversion error. I tried setting the output columns in the excel source to float and apply a conversion but no luck.
When I try it with the import wizard, it will set the datatype to nvarchar.
I also have the IMEX set to 1. Now I read that it could help setting the TypeGuessRow registry setting to a much higher number than 8. Is that a specific Excel setting because on my server I don't have Excel installed, so I'm guessing I can't use that after all?
If the first rows have a number value the float import works fine.
What else can I try or maybe I haven't tried all "combinations"?
Hope you can give me some insights on this topic.
thank you.