Hi
I am trying to get a text string that i am parsing using SubString into a numeric type field.
The number is in the form ;
3,145,554.00
After reading Books Online, I have tried the following syntax in Query Analyzer ;
select convert(numeric , '3,145', 2)
This returns the error ;
Error converting data type varchar to numeric.
Does anyone have any ideas please ?
dan, uk
I am trying to get a text string that i am parsing using SubString into a numeric type field.
The number is in the form ;
3,145,554.00
After reading Books Online, I have tried the following syntax in Query Analyzer ;
select convert(numeric , '3,145', 2)
This returns the error ;
Error converting data type varchar to numeric.
Does anyone have any ideas please ?
dan, uk