hi,
i am unable to convert Varchar to Decimal. I am getting error as follows.
SQL query used:
i would like to mention here that, when i execute the query, the results appears and suddenly disappears by throwing the above error message. Earlier i never faced this kind of issue. For the same query, i used to get the results. This is something new and weird for me.
Please advise on this. Thanks.
i am unable to convert Varchar to Decimal. I am getting error as follows.
Code:
Msg 8114, Level 16, State 5, Line 1
Error converting data type varchar to numeric.
SQL query used:
Code:
select * from RT_STATE_MASTER where Convert(Decimal(10,4),CAP_RATE_MEAN)<0
i would like to mention here that, when i execute the query, the results appears and suddenly disappears by throwing the above error message. Earlier i never faced this kind of issue. For the same query, i used to get the results. This is something new and weird for me.
Please advise on this. Thanks.