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
Issue Opening Excel File in MS Excel 2007 w/Embedded Links
Corrupt Excel file - unable to recover from all machines
how to highlight the current row in Access 2007 split form datasheet
warning LNK4089: all references to "WSOCK32.dll" discarded by /OPT:REF
WCF and basicHttp Error
Login - Username and Password
Am trying to get a MAS90 VI Job to run from WinExec(). Runs fine from command prompt, but not from WinExec().
Active Directory Move & Upgrade
Error 2869 when installing windows service on Vista Home
Access .mde Edit