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
Passing parameters via code on queries created using TableAdapter Query Wizard
Printing Drafts in Outlook 2007 - Showing Date sent
Why won't my display information show on calendar
how to uninstall dot net framework 3.5 service pack?
ChDir that chooses a directory in the same parent directory as the current one
cannot run (without crashing) an originally 32-bit application in 64-bit environment
C# ASP.NET Clear TextBox on UserControl
How do I access my BIOS?
Missing CALS in SBS 2003 after reboot.
SBS 2003 drops *most* Internet connections every three hours