Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL duplicates Question
Message
De
22/09/2012 15:42:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
SQL duplicates Question
Divers
Thread ID:
01553489
Message ID:
01553489
Vues:
81
The SQL below crashes on the 'GROUP BY' line but still runs through to a BROWSE statement below the SQL.
Duplicates are not removed in the result. When I close the BROWSE window, the GROUP BY line is highlighted.

* Remove dupicates
USE (m.TableToSave)
SELECT * FROM (m.TableToSave)
GROUP BY hits
INTO TABLE sqltemp
SET SAFETY OFF
CLOSE TABLES ALL
COPY FILE sqltemp.DBF TO (m.TableToSave)
CLOSE TABLES ALL

What have I missed?
I ain't skeert of nuttin eh?
Yikes! What was that?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform