Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

https://travis-ci.org/Microsoft/mssql-scripter.svg?branch=dev https://ci.appveyor.com/api/projects/status/vpm8p71265ijytqs/branch/dev?svg=true https://codecov.io/gh/Microsoft/mssql-scripter/branch/dev/graph/badge.svg?token=M96uWrHOIu https://badge.fury.io/py/mssql-scripter.svg https://img.shields.io/pypi/pyversions/mssql-scripter.svg

mssql-scripter

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

$ 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:

$ 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 opencode@microsoft.com with any additional questions or comments.

License

mssql-scritper is licensed under the MIT license.

Metadata

Release files for mssql-scripter 1.0.0a23

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for mssql-scripter 1.0.0a23
File Actions
mssql_scripter-1.0.0a23-py2.py3-none-win_amd64.whl Python 3, Python 2 none Windows x86-64 Details for mssql_scripter-1.0.0a23-py2.py3-none-win_amd64.whl
mssql_scripter-1.0.0a23-py2.py3-none-win32.whl Python 3, Python 2 none Windows x86-32 Details for mssql_scripter-1.0.0a23-py2.py3-none-win32.whl
mssql_scripter-1.0.0a23-py2.py3-none-manylinux1_x86_64.whl Python 3, Python 2 none Linux glibc 2.5+ x86-64 Details for mssql_scripter-1.0.0a23-py2.py3-none-manylinux1_x86_64.whl
mssql_scripter-1.0.0a23-py2.py3-none-macosx_10_11_intel.whl Python 3, Python 2 none macOS 10.11+ Intel (x86-64, i386) Details for mssql_scripter-1.0.0a23-py2.py3-none-macosx_10_11_intel.whl

Total release size: 150.8 MB

Release files / mssql_scripter-1.0.0a23-py2.py3-none-win_amd64.whl

Download URL mssql_scripter-1.0.0a23-py2.py3-none-win_amd64.whl
Size 39.5 MB
Tags Python 2 Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
a423e348189eefa33cb838c75bf33c3e1c31bfb9fb67bb152399a07b85d444db
BLAKE2b-256 checksum
How to use checksums
d049e3a6699c0773063fd8a443fd82b9faa0b8d78f01d75ac5c2327be15f4afe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mssql_scripter-1.0.0a23-py2.py3-none-win32.whl

Download URL mssql_scripter-1.0.0a23-py2.py3-none-win32.whl
Size 36.3 MB
Tags Python 2 Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
9a81c16d01f26a1bd89470845a8d031fcd81d165d89a14cc7459f5b7b3260512
BLAKE2b-256 checksum
How to use checksums
e624190cd7ac0b931ff1010f1fc5672734b8e5041a0c4feeefd0e5ed57a90a77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mssql_scripter-1.0.0a23-py2.py3-none-manylinux1_x86_64.whl

Download URL mssql_scripter-1.0.0a23-py2.py3-none-manylinux1_x86_64.whl
Size 38.0 MB
Tags Linux glibc 2.5+ x86-64 Python 2 Python 3
SHA-256 checksum
How to use checksums
5119d148a9750d2cfa9820835da32d5140ebc85807e7ed5403a521052782dd6e
BLAKE2b-256 checksum
How to use checksums
77d1efa8774ccb2a542567f777bf2a6749d4fcd868477edb3deba9a968d5f62c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mssql_scripter-1.0.0a23-py2.py3-none-macosx_10_11_intel.whl

Download URL mssql_scripter-1.0.0a23-py2.py3-none-macosx_10_11_intel.whl
Size 37.0 MB
Tags Python 2 Python 3 macOS 10.11+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
3c933de572ee166ac435c98e85109d45e080afc5cb59554f12f4d11196620bd6
BLAKE2b-256 checksum
How to use checksums
1d9e8f6767b4bb6bdc7b2c8bd95924180484b9cec7b80424d866fe9e77ff06fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for mssql-scripter 1.0.0a23

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page