declare @db nvarchar(20) set @db='Weiku_Keyword' dump transaction @db with no_log backup log @db with no_log dbcc shrinkdatabase(@db)