Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting millions of records
Message
From
06/09/2013 02:05:35
Walter Meester
HoogkarspelNetherlands
 
 
To
05/09/2013 18:05:02
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01582347
Message ID:
01582381
Views:
53
>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

?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform