悉野小楼

导航

删除sqlserver2008日记文件

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
删除sqlserver2005日记文件

posted on 2014-05-30 10:27  悉野  阅读(216)  评论(0编辑  收藏  举报