Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to check a table for duplicates???
Message
 
À
12/02/2002 15:51:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00619081
Message ID:
00619152
Vues:
17
>If I had a primary field my life would be so much easier! To find duplicate records, I need to compare the dob,last_name, and first_name. Then I can combine the cost. Also, I'm going to need to check the license they are buying. Example, if first they bought a fishing license and second record they bought a hunting license, I need to make the license = to hunting and fishing along with sum(cost).
>
>Any ideas?
>
Sunshine,

Do you realize that you are losing data with what you are doing? The dates and the separate transactions will be lost forever when you combine these records into one. You might be best served to leave them as multiple records and use SELECT to bring the records you want together when you need them together.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform