Crystalguru
Technical User
Hello,
I need to convert a VARCHAR(255) field to a number field, either decimal or int, doesn't matter.
I have tried using the cast and convert but keep getting an error message that is cannot change the field. Here's the formula I am using.
CAST((CONVERT(VARCHAR(10), pnd.text)) AS INT)as weight
Not sure why it is not working?
Thanks
I need to convert a VARCHAR(255) field to a number field, either decimal or int, doesn't matter.
I have tried using the cast and convert but keep getting an error message that is cannot change the field. Here's the formula I am using.
CAST((CONVERT(VARCHAR(10), pnd.text)) AS INT)as weight
Not sure why it is not working?
Thanks