Shrink DataBase

Code:

USE master
BACKUP LOG dbToShrink WITH TRUNCATE_ONLY
DBCC SHRINKDATABASE  (dbToShrink)