Deleting Large Amounts of Records From A Table Without Truncating on Windows Azure SQL Database

Alexandre Brisebois ☁

There are times when you need to delete large amounts of records from a table. Deleting a few million records from Windows Azure SQL Database using a single statement will probably result in a 40552 The session has been terminated because of excessive transaction log space usage error. This is how I go about cleaning my database.

View original post 386 more words

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s