CASE
WHEN VPN_Access__c = True THEN 'Need to Setup' + VPN_Access__c
ELSE ''
END AS VPNAccessDesc`
I’m trying to create a Case statement but I keep getting an error stating invalid column name ‘True’. It’s a checkbox field and I want it to say “Need to Setup” if the table equals True.
VPN_Access__c is a bit datatype if that makes a difference
Sql Server doesn’t have
booleanvalues, so you’ll need to do:Actually – you can remove
+ VPN_Access__cas it makes more sense to sayNeed to Setuprather thanNeed to Setup1