Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL query w. embedded CASE [var] when NOT working
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00835692
Message ID:
00835776
Vues:
10
>SELECT IIF(UPPER(lr_accept)='F','Full    ', ;
>       IIF(UPPER(lr_accept)='P','Partial ', ;
>       IIF(UPPER(lr_accept)='R','Rejected','OTHER   '))) ;
You should pad the field with spaces, because the SELECT statement will figure the width of the column from the first record it finds.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform