摘要:
GO--在查询结果中获得日志文件名select * from sysfiles--DB日志USE [DataBaseName];GO-- Truncate the log by changing the database recovery model to SIMPLE.ALTER DATABASE [DataBaseName]SET RECOVERY SIMPLE;GO-- Shrink the truncated log file to 1 MB.DBCC SHRINKFILE ( [LOGFileName] , 1);GO-- Reset the database recovery mo 阅读全文
2011年1月11日 #