请问大侠,SQL server2000中日志的增长比较快,且体积比较大,怎么可以截断使其变小?谢谢啦!
解决方案 »
- sql语句插入问题
- SQL数据库问题
- SQL里如何截取中文字符串 100分
- 为何在查询分析器里做象select productname from product where productname>''
- 请问:Microsoft Sql Server Reporting Service 的补丁在那下载?
- SQL大大来...
- sqlserver2008安装问题
- convert函数为什么不好使?(很急!!)
- 求实现流水号的好方法,要求能处理多用户并发问题。
- ====VC/ADO====SQL SERVER====schema_ver的问题
- SQL server2000中如何做数据迁移?
- (急)sql server 2005中使用ssis包倒数据时出现错误,谢谢了。
--截断事务日志
backup log 数据库名 with no_log
go--收缩数据库
dbcc shrinkdatabase(数据库名)
go
dump tran databasename with no_log
backup log databasename with no_log
dbcc shrinkdatabase(databasename)