Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Group by problem
Message
 
À
22/05/2007 03:25:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01227552
Message ID:
01227559
Vues:
11
Hi,

>SELECT COUNT(*) from myTable WITH (Buffering=.T.) where myTabble.key ='123' GROUP BY type
>INTO CURSOR pTempTable

You code looks valid. However, WITH Buffering is a feature that has been introduced in VFP 9. If you are a using an older version you would either need to update, or use a non-SQL solution such as COUNT FOR.
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform