-- First backup the database and Log. -- Then set Recovery Mode to Simple ALTER DATABASE MOI_20161206024518612 SET RECOVERY SIMPLE Go -- Then Shrink the Database Log to (almost) nothing DBCC SHRINKDATABASE (MOI_20161206024518612) go
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter