Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoiding Duplicate Records
Message
De
07/08/2008 19:47:25
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01337412
Message ID:
01337417
Vues:
18
Naomi:

I'd rather not go through all the records 1-by-1 just to delete records.

At this time I'm only concerned with 1 table. This table has about 50,000 records. Would it be wise to just delete all the records in this table and just IMPORT all the updated records from the updated table? How would one delete all the records in a table?

Mal


>>Hi:
>>
>>I have 2 locations each with a SQL Server machine. One machine is alwasy updated. I use EXPORT from the updated machine then IMPORT into the other machin to keep the machines the same. This has been working out, but recently I've been getting duplicate recrods. How do I implement an IMPORT and elimnate/ignore dulicate records. Is there a way to tell SQL Server's Import to ignore records already in the table?
>>
>>TIA
>>
>>Mal
>
>Mal,
>
>I'm not sure it's the right answer, but you can always add a check after your process is done and eiliminate duplicates.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform