I have a column which is bool. How can I set true, false values for that? Here is my query :
Update [mydb].[dbo].[myTable] SET isTrue = ( CASE WHEN Name = \
You need case statement with when and else if not any condition satisfied
Update [mydb].[dbo].[myTable] SET isTrue = ( CASE WHEN Name = 'Jason' THEN 1 else 0 END)