declare @dbname nvarchar(255)
set @dbname = ‘yourdatabasenamehere’
backup log @dbname with truncate_only
DBCC SHRINKDATABASE (@dbname, 0)