In my database (MySQL) table, has a column with 1 and 0 for represent true and false respectively.
1
0
true
false
But in S
S
Replace the value in select statement itself...
(CASE WHEN Mobile LIKE '966%' THEN (select REPLACE(CAST(Mobile AS nvarchar(MAX)),'966','0')) ELSE Mobile END)