Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using CASE WHEN in SQL Select
Message
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01520963
Message ID:
01520981
Views:
40
>>
>>CASE when MyTable.Log_Fld = 1 THEN 0 ELSE 2 END as NewFldName
>>
>>Using bit field it's either 1/0 or 'true'/'false'
>
>Thank you very much!

You're welcome.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform