I need to convert one old order table tOld to new table tNew.
There is a column [OrderID] (data type is double) need to convert to varchar.
I used code below but never work. Please help.
SELECT cast(OrderID as varchar(20)) FROM tOld
Result:
9.30149e+007
6.02773e+006
5.36782e+008