Essentially I\'m trying to do this
select u.Hostname, u.IsCustom, (u.Status = 5) as IsActive from SiteUrlMappings u
Where 5 is an int r
You need a case statement, like this:
case
select u.Hostname, u.IsCustom, convert(bit, case when u.Status = 5 then 1 else 0 end) as IsActive from SiteUrlMappings u
bit is as close to true boolean as you can get in SQL Server
bit