Home > Database > Mysql Tutorial > body text

清除sqlserver2005日志

WBOY
Release: 2016-06-07 15:27:18
Original
1106 people have browsed it

总是忘,现在给记下来,备查 1.右键在清除日志的数据库,如DB,点击[新建 查询( Q )] DUMP TRANSACTION DB WITH NO_LOG 2.输入以下SQL语句,其中DB是数据库名称 3.执行该SQL,成功后继续以下操作 4.右键该数据库节点,点击[任务( T )] - [收缩( S

总是忘,现在给记下来,备查

 

1.右键在清除日志的数据库,如“DB”,点击[新建查询(Q)]

<p>DUMP TRANSACTION DB WITH NO_LOG</p>
Copy after login

2.输入以下SQL语句,其中“DB”是数据库名称 

3.执行该SQL,成功后继续以下操作

4.右键该数据库节点,点击[任务(T)] -> [收缩(S)] -> [文件(F)]

5.在弹出的“收缩文件”对话框中,将“文件类型(T)”选为“日志”,将“收缩操作”选中“在释放未使用的空间前重新组织页(O)”

6.在“将文件收缩到(K)”文本框中输入后面提示的最小大小的数值,点击[确定]即可。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!