Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IIF in select
Message
De
18/05/2005 09:18:33
Cristian Tenea
Aquila Part Prod Com
Ploiesti, Roumanie
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
IIF in select
Divers
Thread ID:
01015300
Message ID:
01015300
Vues:
78
Hi,

How to put in SQL a query that in VFP look like this?

SELECT iddoc, SUM(IIF(testval=0,quantity,o)) as q0, SUM(IIF(testval=1,quantity,0)) as q1 FROM doctable

Thanks in advance.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform