Select the Column in your Excel sheet and change the data type to text
Then go to your sql server open import-export wizard and do all the steps of select source data and bla bla when you get to the point of Mapping Column
, it will select Float
data type by default, You will have to change it to NVARCHAR(N)
in my test I changed it to NVARCHAR(400), it gave me a warning that I might lose some data as I am converting data from 1 datatyep to another.
When you get to the Data Type Mapping
page make sure you select Convert checkbox. and stop the process of failure of as appropriate.
Going through all these steps finally got my data in the destination table with the same Warning
that I have converted some data n bla bla after all microsoft worries too much :)
Finally Data in Sql-Server Table
╔═══════╦════════════╦═════════╦════════════════╦══════════════╗
║ Name ║ City ║ Country ║ Phone ║ Float_Column ║
╠═══════╬════════════╬═════════╬════════════════╬══════════════╣
║ Shaun ║ London ║ UK ║ 04454165161665 ║ 5859031783 ║
║ Mark ║ Newyork ║ USA ║ 16846814618165 ║ 8811014190 ║
║ Mike ║ Manchester ║ UK ║ 04468151651651 ║ 5851130582 ║
╚═══════╩════════════╩═════════╩════════════════╩══════════════╝