Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ICASE cutting String
Message
De
13/10/2021 09:08:35
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
 
 
À
12/10/2021 08:43:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01682487
Message ID:
01682513
Vues:
45
>As Martina wrote, this is a "feature". My preferred workaround is to use Cast:
>
>
select  cast(Icase(payment='MB', 'MB', payment='CC', 'VISA', payment='PAYPAL','PAYPAL') as c(6)) as 'Payment'  into cursor Mycrs Readwrite
>
Although my "standard" way, wrapping the ICASE in some form of PadL/PadR is supported now not only in vfp, your solution is much better fit for any SQL backend. Note to self posted...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform