Sometimes, we just do not need the big log file. For example, I have a 40GB log file. I am sure I do not need this log file and want to get rid of it completely to free up the hard drive space. The logic is: Detach the database Rename the log file Attach the database without the log file Delete the log file Let’s say, the database name is testDev. In the SQL Server Management Studio, Highlight the database-> T Read More

Tags: ,