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
install xsource in vfp 9.0 sp2
CPropertySheet vs. CTabCtrl
DNS root hints not working Windows 2008
Expert Notify Thread - For Experts only (those answering questions in the MS Access Zone).
ASP.NET - Database Class
Sql case syntax
Dynamic Web Reference Asp.Net - what about the disco?
Using NOEXPAND hint with a Indexed View while linking table in Access.
OCS will not start - Event ID 20482
Decipher Image Size in RTF coding (HARD ONE!!!)