SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Other SQL Server 2012 Topics
 Shrinking Log files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

schary08
Starting Member

India
2 Posts

Posted - 12/29/2012 :  09:09:14  Show Profile  Reply with Quote
hi,
can you please help me on this query.
How to shrink log files below the initial size.

thanks in Advance,
Sreeni

Sreenivasa Chary.T

sodeep
Flowing Fount of Yak Knowledge

USA
7174 Posts

Posted - 12/29/2012 :  10:34:26  Show Profile  Reply with Quote
There are lots of post for shrinking log file. Search for it. It is not a good idea to shrink below initial size as it will again grow.
Go to Top of Page

srimami
Posting Yak Master

160 Posts

Posted - 02/06/2013 :  03:21:23  Show Profile  Reply with Quote
DBCC Shrinkfile (Filename, 10)

Filename represents the name of the log file and 10 represents the size in MB (In this case it will shrink to 10MB)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000