Skip to main content

Microsoft SQL Scripter Command-Line Tool

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

mssql_scripter-1.0.0a23-py2.py3-none-win_amd64.whl (39.5 MB view details)

Uploaded Python 2 Python 3 Windows x86-64

mssql_scripter-1.0.0a23-py2.py3-none-win32.whl (36.3 MB view details)

Uploaded Python 2 Python 3 Windows x86

mssql_scripter-1.0.0a23-py2.py3-none-manylinux1_x86_64.whl (38.0 MB view details)

Uploaded Python 2 Python 3

mssql_scripter-1.0.0a23-py2.py3-none-macosx_10_11_intel.whl (37.0 MB view details)

Uploaded Python 2 Python 3 macOS 10.11+ intel

File details

Details for the file mssql_scripter-1.0.0a23-py2.py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for mssql_scripter-1.0.0a23-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a423e348189eefa33cb838c75bf33c3e1c31bfb9fb67bb152399a07b85d444db
MD5 4b03f3f1894cfaceb7da632f954c29b1
BLAKE2b-256 d049e3a6699c0773063fd8a443fd82b9faa0b8d78f01d75ac5c2327be15f4afe

See more details on using hashes here.

File details

Details for the file mssql_scripter-1.0.0a23-py2.py3-none-win32.whl.

File metadata

File hashes

Hashes for mssql_scripter-1.0.0a23-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 9a81c16d01f26a1bd89470845a8d031fcd81d165d89a14cc7459f5b7b3260512
MD5 050cd6b2954e19db20c9dc31803fbdb3
BLAKE2b-256 e624190cd7ac0b931ff1010f1fc5672734b8e5041a0c4feeefd0e5ed57a90a77

See more details on using hashes here.

File details

Details for the file mssql_scripter-1.0.0a23-py2.py3-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for mssql_scripter-1.0.0a23-py2.py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5119d148a9750d2cfa9820835da32d5140ebc85807e7ed5403a521052782dd6e
MD5 753e341bdcb84560cd0f21e1dafd7fcc
BLAKE2b-256 77d1efa8774ccb2a542567f777bf2a6749d4fcd868477edb3deba9a968d5f62c

See more details on using hashes here.

File details

Details for the file mssql_scripter-1.0.0a23-py2.py3-none-macosx_10_11_intel.whl.

File metadata

File hashes

Hashes for mssql_scripter-1.0.0a23-py2.py3-none-macosx_10_11_intel.whl
Algorithm Hash digest
SHA256 3c933de572ee166ac435c98e85109d45e080afc5cb59554f12f4d11196620bd6
MD5 e0f9bb62b2b9971911c321d3c8cee226
BLAKE2b-256 1d9e8f6767b4bb6bdc7b2c8bd95924180484b9cec7b80424d866fe9e77ff06fa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page