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
Dataset - Column value - need correct syntax
Newly promoted DC is unable to enable Replication; Event 13508
Mail Merge Access Query to Word Document Update Question??
moving documents and settings from c to d drive
How can i delete old records automaticaly?
Backup and restore of Win2k Server to a different machine
Use multi parameters in query criteria
Outlook connection type
Using Server.Mappath to get a file from a virtual directory
How to prevent the auto update within an Acces 2007 template