Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dupes
Message
De
01/10/2001 10:42:45
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Re: Dupes
Divers
Thread ID:
00562526
Message ID:
00562538
Vues:
21
>Hi All:
> I have duplicate records in one table that is part of Sql Server. How can I delete all the duplicate records in the table and preventing this from happening again in the future ?
>Thanks
Mahmood,
Strategy varies according to how you define a duplicate (a key field, a few fields combination, the whole record etc). On SQL server side you could add check constraints to prevent it (typically a candidate key for a combination of fields). Each added constraint would impact on performance so maybe it's a good idea to check 'before' sending to server.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform