Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IIF() like Function in Oracle?
Message
De
18/05/1999 05:15:44
 
 
À
17/05/1999 16:04:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00219769
Message ID:
00219933
Vues:
28
>Is there a function in Oracle that emulates what
>the VFP IIF() function does? The closest thing
>I have seen is the DECODE() function.
>
>What I need to do is as follows in a SQL passthru statement:
>
>IIF(num_trys > max_trys, 'True', 'False') AS fieldname

Oracle supports CASE statements in the SELECT - you can get IIF functionality with that

Arnon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform