shrinking logs: how much data will be reclaimed

This script will show you how much diskspace can be reclaimed by shrinking all the logfiles of userdatabases using a DBCC SHRINKFILE(2) command. Often the spacegain is much smaller then expected. SQL Shrinks logfiles the end of the file until it finds the active part of the logfile. (If the active part of the logfile […]

2005-03-21 (first published: )

420 reads

Blogs

Using Framing for a Running Total–#SQLNewBlogger

By

Another post for me that is simple and hopefully serves as an example for...

Accessibility in your PowerPoint slide deck

By

This post is part of the series I kicked off here. You can read...

Daily Coping 28 Jul 2021

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Read the latest Blogs

Forums

Conditional Update of Column

By Phil Parkin

I can't remember ever trying this before, but I have need to do it...

BulkCopy error

By Bruin

I'm trying to load a csv to SQL using the BULKCOPY, but running into...

Login failed: Password did not match that for the login provided.

By tom 69406

I just installed a new instance of SQL Developer Edition - All my apps...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers