Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Duplicates - Multiple fields
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01436141
Message ID:
01436149
Vues:
49
>>The code is OK. You can also use a variation of it:
>>
>>SELECT last_name, first_name, alt_custno, paquinnumb FROM customer ;
>>	inner join (select LastName, FirstName, count(*) as Dups from Customer group by LastName, FirstName having count(*) > 1) X
>>on Customer.LastName = X.LastName and Customer.FirstName = X.FirstName
>
>I Like !!!
>
>Thanks!!!

You're welcome. You may compare output of sys(3054,11) in both cases to find more performant variation.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform