Q

Shrinking the log file

I have a 500+ MB log file, but my hard disk is full, and I need to shrink the log file or redirect it to a different unit. How can I do this?

You issue a backup log command first. Once that is done, you issue a DBCC shrinkdatabase or a DBCC shrinkfile.

 

For More Information

This was first published in September 2003

Dig deeper on Microsoft SQL Server Installation

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchBusinessAnalytics

SearchDataCenter

SearchDataManagement

SearchAWS

SearchOracle

SearchContentManagement

SearchWindowsServer

Close