1.执行 Dump Transaction 数据库名称 With No_Log
2.打开企业管理器(SQL2005) - 右键数据库 - 任务 - 收缩 - 数据库
如何不使用企业管理器删除日志
Dump Transaction Test With No_Log
DBCC ShrinkFile('Test_log', 1)
注意:
For example, a database with a log file of 1 GB can have the log file shrunk to only 128 MB.
如果日志很大,要收缩几次,才能收缩成最小。



