How do I convert a "text" type value to a "numeric" type, in T-SQL?
I tried the following but it throws an error:
SELECT CAST(my_text as numeric)
Note: The text values are in proper number format, so I don't need to worry about that too much. I just need to convert them to numerics so I can perform calculations on them
I tried the following but it throws an error:
SELECT CAST(my_text as numeric)
Note: The text values are in proper number format, so I don't need to worry about that too much. I just need to convert them to numerics so I can perform calculations on them