数据库“tempdb”日志已满解决办法

运行查询分析器,执行以下SQL语句:
 
use tempdb

select * from tempdb.dbo.sysfiles

dump transaction tempdb with no_log

dbcc shrinkfile ('templog',1)

select * from tempdb.dbo.sysfiles

posted @ 2009-06-19 08:37  tomorrow8  阅读(825)  评论(1编辑  收藏  举报