惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
小众软件
小众软件
大猫的无限游戏
大猫的无限游戏
B
Blog RSS Feed
WordPress大学
WordPress大学
A
About on SuperTechFans
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 司徒正美
I
InfoQ
MyScale Blog
MyScale Blog
量子位
博客园 - 【当耐特】
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 叶小钗
J
Java Code Geeks
L
LangChain Blog
T
The Blog of Author Tim Ferriss
有赞技术团队
有赞技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
阮一峰的网络日志
阮一峰的网络日志

博客园 - Easoney

sqlite management tool zz some JQeury code zz Microsoft Chart Controls for Microsoft .NET Framework 3.5 C# 引用FlashPlayer ActiveX 控件后判断其版本号 zz IronPython 的一些资料 add column for a table if this column not exists using T-SQL in SQLServer zz JQuery 插件 - Easoney good articles about ASP.NET ViewState zz IE对话框 - Easoney - 博客园 解决win2003安装exchangeServer后关机慢的方法 zz web ContentType 大全 如何配置 SQL Server 2005 以允许远程连接 Configure Spring.net under IIS7 常用JS技巧(转) 开始学习RoR 2008, here you come New project, new challenge PIManager 1.2 beta3 release Trac crash with SVN 1.4.5
SQL Server 2005 : 清空数据库日志 (zz)
Easoney · 2009-01-12 · via 博客园 - Easoney

1.打开查询分析器,输入命令
DUMP TRANSACTION 数据库名 WITH NO_LOG
2.再打开企业管理器--右键你要压缩的数据库--所有任务--收缩数据库--收缩文件--选择日志文件--在收缩方式里选择收缩至XXM,这里会给出一个允许收缩到的最小M数,直接输入这个数,确定就可以了。

如果想以后不让它增长
企业管理器--服务器--右键数据库--属性--事务日志--将文件增长限制为xM(x是你允许的最大数据文件大小)