Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Erasing duplicates
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00550436
Message ID:
00550445
Vues:
21
This message has been marked as a message which has helped to the initial question of the thread.
>Hi Friends!
>
>How can I delete all duplicate records from a table?
>
>TIA

Typically you may issue SQL statement like this:
SELECT myfieldname, COUNT(myfieldname) ;
	FROM mytable ;
	GROUP BY myfieldname ;
	HAVING COUNT(myfieldname) > 1 ;
	INTO CURSOR mycursor
You might try also some utilities in Download section:

file#289
file#9631
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform