Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Sum
Message
De
14/05/2008 22:28:33
Neil Mc Donald
Cencom Systems P/L
The Sun, Australie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
SQL Sum
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01317205
Message ID:
01317205
Vues:
41
Hi,
Would the following TSQL work in VFP:-

SUM(case when invh.invdate between lcMonStart AND lcMonEnd then gross else 0 end) as MTDAmount

if not is SUM(IIF ....) the only way out, I am looking for something that is VFP and MSSQL compatible.
Regards N Mc Donald
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform