+ 3
How to change the property of any string into numeric property?
Example :"Learn" is a string of varchar type but how to change the string property into numeric property and the value will be same as it is.
3 Antworten
+ 2
you have to use the query TO NUM ("Learn")
+ 2
You can't convert 'Learn' to a numeric value. You'll get a type conversion error. However, if you have a valid number as a varchar, you can convert it.
SELECT CONVERT(INT,'125');
SELECT CAST('125' AS INT);
0
how do you do this