use master go alter database dbname set recovery simple with no_wait go alter database dbname set recovery simple go use dbname dbcc shrinkfile(N'DNName_log', 11, truncateonly) go use master go alter database dnname set recovery full with no_wait go alter database dnname set recovery full go