Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL problem in VFP 8
Message
De
20/11/2003 11:23:12
John Fitzgerald
Kenneths Hair Salons & Day Spas,Inc.
Columbus, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
SQL problem in VFP 8
Divers
Thread ID:
00851901
Message ID:
00851901
Vues:
38
I use this handy dandy sql statement in VFP 7 to find duplicates. For some reason it doesn't work in VFP 8.

The generated error is: SQL: GROUP BY clause is missing or invalid.

SELECT field1, field2, cnt(*) ;
FROM TableName ;
GROUP BY field2 ;
HAVING cnt(*) > 1 ;
INTO CURSOR Dupes
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform