Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can you use IIF(a,b,c) in a SELECT statement?
Message
 
À
13/11/2000 09:40:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00440969
Message ID:
00440982
Vues:
11
>I am trying to use IF logic in SELECT statement. any ideas?

Try formating it like this:

SELECT IIF(alias.gender = "M", "Male", "Female") AS GenderText FROM Customers

M.
Marty Smith, CSQE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform