Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xiaohuazi123/mssql-script

mssql脚本汇总
https://github.com/xiaohuazi123/mssql-script

backup batch mssql performance restore script

Last synced: 5 days ago
JSON representation

mssql脚本汇总

Awesome Lists containing this project

README

        

# mssql-script
[![CodeFactor](https://www.codefactor.io/repository/github/xiaohuazi123/mssql-script/badge)](https://www.codefactor.io/repository/github/xiaohuazi123/mssql-script)
[![TSQL](https://img.shields.io/badge/language-TSQL-blue.svg "TSQL")](https://zh.wikipedia.org/wiki/Transact-SQL)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg "Apache2.0")](https://github.com/xiaohuazi123/mssql-script/blob/master/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/xiaohuazi123/mssql-script.svg?label=Stars&logo=github "stars")](https://github.com/xiaohuazi123/mssql-script)

mssql脚本汇总

汇总这么多年来使用的mssql脚本,迭代了很多次,比较稳定,一直在生产环境使用,每个脚本已经去除敏感信息。
脚本支持的数据库版本:SQL2008R2 ~SQL2016
大于SQL2016版本不保证脚本一定能用
后面脚本会不定期更新


脚本数量:57个

### 脚本分类

- 备份还原
- 表分区
- 常用函数
- 错误日志
- 定时自动抓取耗时SQL并归档发邮件
- 脚本模块
- 镜像
- 批量脚本
- 数据库收缩
- 数据库损坏
- 数据库账号
- 统计数据库大小
- 性能
- 作业