Hello I'm trying to import data from excel file (xls)
to new SQL table
so I use Import and Export data 32/bit
to achieve that. When I load the excel file it automatically detects data types of columns. e.g. column with phone numbers is as data type to new table float
and in excel is as Double(15) when I try to change the float
to nvarchar
I get this :
Found 2 unknown column type conversion(s) You have selected to skip 1 potential lost column conversion(s) You have selected to skip 3 safe column conversion(s)
And I'm not allowed to continue with export.
Is there any way to change the data types when trying to import them?
Thank you for your time.
These data are set as text
data type in excel
Sample data from one of the columns in excel:
5859031783
5851130582
8811014190
This is what I get: