I have a problem converting a Varchar datatype into a numeric field....
The values in my table are to 3 deimcal places and are of datatype varchar.
When i use Convert(decimal(10,3),col7) for a value of .0123
it returns the value .012.
Any ideas how i can convert a varchar to numeric but keeping the the 3 decimal places...?
Cheers in advance.....
The values in my table are to 3 deimcal places and are of datatype varchar.
When i use Convert(decimal(10,3),col7) for a value of .0123
it returns the value .012.
Any ideas how i can convert a varchar to numeric but keeping the the 3 decimal places...?
Cheers in advance.....