sql server 2008 自动收缩日志文件
1、设置作业
USE master GO ALTER DATABASE DataAnalysisDB_Business SET RECOVERY SIMPLE WITH NO_WAIT GO ALTER DATABASE DataAnalysisDB_Business SET RECOVERY SIMPLE GO USE DataAnalysisDB_Business GO DBCC SHRINKFILE (DataAnalysisDB_Business_log , 1000, TRUNCATEONLY) GO USE master GO ALTER DATABASE DataAnalysisDB_Business SET RECOVERY FULL WITH NO_WAIT GO ALTER DATABASE DataAnalysisDB_Business SET RECOVERY FULL GO
当你的才华还撑不起你的野心时,那你就应该静下心来学习;当你的能力还驾驭不了你的目标时,那就应该沉下心来历练!