Skip to end of metadata
Go to start of metadata

1、 备份当前数据后,首先打开SQL Server Management Studio,找到要操作的数据库。鼠标右键点击数据库,在弹出菜单中选择属性。

2、选项--恢复模式--选择【简单】--确定

3、右击数据库——任务——收缩——数据库——确定

4、再次右击数据库——任务——收缩——文件——文件类型选择为【日志】——确定

5、右键--属性--选项 将恢复模式修改成“完整”

  • No labels

1 Comment

  1. Anonymous

    这个脚本怎么用啊

    1. You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.