Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting to Case from IIF
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00193595
Message ID:
00194010
Vues:
20
>>Has anyone used a Case in SQL Server to replace an IIF statement. I want to check to see if the person has a spouse ID and then print 'Mrs.' else ''. Any ideas?
>>TIA!
>>DLC
>
>Yeah,
>
>result = case when spouseid = 1 then 'Mrs.' else '' end

Thanks! That is what I needed.
DLC
DLC
"Use the Right Tool for the Job!"
davidandcynthia@email.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform