Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How 2 do this in TSQL?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
How 2 do this in TSQL?
Versions des environnements
Visual FoxPro:
VFP 9
Database:
MS SQL Server
Divers
Thread ID:
01042027
Message ID:
01042027
Vues:
77
How would I best do something like this in T-SQL?

SELECT IIF(ISNULL(int_field),0,1) AS lSelected FROM MyTable

Do I use a SQL CASE statement, or is there an easier in-line way?

TIA
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform