Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert IIF function in SQL Statement
Message
De
31/03/2003 22:36:56
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
Insert IIF function in SQL Statement
Divers
Thread ID:
00772247
Message ID:
00772247
Vues:
37
Is it possible for me to insert IIF function in SQL Statement.. for example:

SELECT MONTHLYSALES.*, IIF(MONTHLYSALES.POINT>=10, "Good", IIF(MONTHLYSALES.POINT >=5 AND MONTHLYSALES.POINT<10, "Enough", "Bad")) as SALESPOINT FROM MONTHLYSALES ORDER BY SALESMANCODE

(pls correct the above SQL statement if there's mistake)

any idea would be greatly appreciated and many thanks in advance

Regards
Winan
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform