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
Reference to Microsoft.SharePoint.Publi<wbr />shing not working (GAC issue?)
32 or 64 bit SQL Server
Function Design help
Outlook 2007 cannot open folders
How to convert a decimal value to 1 correct figure in an access query
CreateEventProc error 57017 Event Handler Invalid
Formula to calculate due dates
No Active Network Adapters Found - Pending Changes may disrupt network Connectivity
using a query to combine multiple records into one record
How to create Access Check Box Pick List Form then populate report based on selection