Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting millions of records
Message
De
06/09/2013 02:05:35
Walter Meester
HoogkarspelPays-Bas
 
 
À
05/09/2013 18:05:02
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01582347
Message ID:
01582381
Vues:
50
>I need to remove about two millions records from a table. This is because on a development environment, I need to start from a fresh copy of the production. However, when deleting so many rows, it takes a very long time because of the log process. How to delete all the records without having this log process to slow things down?

Did you try to

TRUNCATE TABLE

?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform