Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using CASE WHEN in SQL Select
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01520963
Message ID:
01520981
Vues:
42
>>
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform