Microsoft
Software
Hardware
Network
Question : SQL 2008 Log file
We have a SQL 2008 database in Simple Recovery mode. The log file right now is 20 GB which seems a little large. Is there a command/task we can use to bring it down to size?
Thanks,
Dean
Answer : SQL 2008 Log file
change the recovery mode to 'Simple'
then run this
dbcc shrikfile ( log_fileName, 0 )
change back the recovery mode to full
also make sure that you schedule a job for backing up the log file at least once in 30 minutes
Random Solutions
ASP.NET - How to change the text property of a label that is inside a user control?
SharePoint logs me in as "System Account"
DNS name resolution problems using IE or Firefox. Works when FQDN is used.
SQL insert into memo field only accepts 254 characters
Microsoft Exchange Mailboxes
HELP! Windows Server 2003 stuck in install loop!
open pdf or jpg inside access
How many IP addresses can you assign to a single network card on Windows 2003/2008 server
Excel workbook opens read only w/ error "Excel Workbook open by 256 Users"
Subdatasheet