I have a table with a column A. I would like to change the datatype from string to float. My column A looks like this:
A
143
1,440
19,630
12
... When I try to run my code:
ALTER TABLE [Table1]
ALTER COLUMN [A] FLOAT
I always get this error:
Error converting data type varchar to float.
REPLACE..in stead of a comma,for floats, so you must replace these first