Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xiaohuazi123/mssql-script
mssql脚本汇总
https://github.com/xiaohuazi123/mssql-script
backup batch mssql performance restore script
Last synced: 12 days ago
JSON representation
mssql脚本汇总
- Host: GitHub
- URL: https://github.com/xiaohuazi123/mssql-script
- Owner: xiaohuazi123
- License: apache-2.0
- Created: 2020-03-22T03:54:07.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-10T12:36:16.000Z (10 months ago)
- Last Synced: 2025-01-16T14:26:59.778Z (19 days ago)
- Topics: backup, batch, mssql, performance, restore, script
- Language: TSQL
- Size: 91.8 KB
- Stars: 126
- Watchers: 7
- Forks: 74
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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并归档发邮件
- 脚本模块
- 镜像
- 批量脚本
- 数据库收缩
- 数据库损坏
- 数据库账号
- 统计数据库大小
- 性能
- 作业