I am have a table, of which one of the columns is of type numeric(18,9)
. I am trying to bulk insert to this table from a csv file. Note that the columns match between the csv
file and the table.
One of the columns in the csv, has some numbers written in the format: 3E-4, 45E-2, etc.(where E
is a symbol of power).
When trying to bulk insert the data to the SQL table, I get the error that there is a type mismatch
for that specific column. The error is most certainly caused by any number that is formatted like e.g. 5E-4
.
N.B: when checked for the column type in excel using type()
, all cells return 1 -> this means that the column is of type numeric
in the csv
file.
Any way to overcome this error?
Thanks,