Run BACKUP LOG WITH TRUNCATE_ONLY.
Then immediately backup your database (FULL BACKUP) as you won't have the log files anymore.
Then run DBCC SHRINKDATABASE (dbname)
That should work.....oh, you can let out your breath. It's not that bad.
Refer to the BOL for more information on those commands.
-SQLBill
BOL=Books OnLine=Microsoft SQL Server's HELP
Installed as part of the Client Tools
Found at Start>Programs>Microsoft SQL Server>Books OnLine
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.