百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

mssql-scripter

> 编程语言
开源

新的 SQL 跨平台命令行工具的存储库

754 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

新的 SQL 跨平台命令行工具的存储库

.. image:: https://travis-ci.org/Microsoft/mssql-scripter.svg?branch=dev :target: https://travis-ci.org/Microsoft/mssql-scripter

.. image:: https://ci.appveyor.com/api/projects/status/vpm8p71265ijytqs/branch/dev?svg=true :target: https://ci.appveyor.com/project/MrMeemus/mssql-scripter

.. image:: https://codecov.io/gh/Microsoft/mssql-scripter/branch/dev/graph/badge.svg?token=M96uWrHOIu   :target: https://codecov.io/gh/Microsoft/mssql-scripter/branch/dev

.. image:: https://badge.fury.io/py/mssql-scripter.svg :target: https://pypi.python.org/pypi/mssql-scripter

.. image:: https://img.shields.io/pypi/pyversions/mssql-scripter.svg :target: https://travis-ci.org/Microsoft/mssql-scripter

mssql-scripter

PROJECT STATUS

This tool is no longer actively maintained. Microsoft SQL Server Management Studio provides a Generate Scripts Wizard that provides similar functionality to mssql-scripter.

Description

We’re excited to introduce mssql-scripter, a multi-platform command line experience for scripting SQL Server databases.

mssql-scripter is the multiplatform command line equivalent of the widely used Generate Scripts Wizard experience in SSMS. You can use mssql-scripter on Linux, macOS, and Windows to generate data definition language (DDL) and data manipulation language (DML) T-SQL scripts for database objects in SQL Server running anywhere, Azure SQL Database, and Azure SQL Data Warehouse. You can save the generated T-SQL script to a .sql file or pipe it to standard nix utilities (for example, sed, awk, grep) for further transformations. You can edit the generated script or check it into source control and subsequently execute the script in your existing SQL database deployment processes and DevOps pipelines with standard multiplatform SQL command line tools such as sqlcmd.

mssql-scripter is built using Python and incorporates the usability principles of the new Azure CLI 2.0 tools.

Installation

.. code:: bash

$ pip install mssql-scripter

Please refer to the installation guide_ for detailed install instructions.

Usage

Please refer to the usage guide_ for details on options and example usage.

For general help content, pass in the -h parameter:

.. code:: bash

$ mssql-scripter -h

Contributing

If you would like to contribute to the project, please refer to the development guide_.

Reporting issues and feedback

If you encounter any bugs with the tool please file an issue in the Issues_ section of our GitHub repo.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct_.

For more information see the Code of Conduct FAQ_ or contact [email protected] with any additional questions or comments.

License

mssql-scripter is licensed under the MIT license_.

.. _installation guide: doc/installation_guide.md .. _development guide: doc/development_guide.md .. _usage guide: doc/usage_guide.md .. _Issues: https://github.com/Microsoft/mssql-scripter/issues .. _Microsoft Open Source Code of Conduct: https://opensource.microsoft.com/codeofconduct/ .. _Code of Conduct FAQ: https://opensource.microsoft.com/codeofconduct/faq/ .. _MIT license: https://github.com/Microsoft/mssql-scripter/blob/dev/LICENSE.txt

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Python

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言