In a tsql query, I want to have a calculated field that is the boolean result of a string comparison.
It would look something like this:
select name, (status = 'current') as IsValid
from items
But the query as I have listed is not valid. What is the correct syntax?