Repository for the new SQL cross-platform command line tools
Python Other
Latest commit d7ef5f2 Aug 17, 2017 @pensivebrian pensivebrian committed on GitHub Refine event loop perf fix in main.py
Refine event loop perf fix in main.py
Permalink
Failed to load latest commit information.
doc Updating pypi test server steps. Aug 2, 2017
mssqlscripter Refine event loop perf fix in main.py Aug 17, 2017
mssqltoolsservice Use SqlToolsService built on .NET Core 2.0 and a build script updates ( Aug 17, 2017
.bumpversion.cfg Use SqlToolsService built on .NET Core 2.0 and a build script updates ( Aug 17, 2017
.gitattributes Feature/scripting client (#4) Mar 27, 2017
.gitignore Public preview/update setup wheel (#51) May 1, 2017
.travis.yml Use SqlToolsService built on .NET Core 2.0 and a build script updates ( Aug 17, 2017
LICENSE.txt Refactor/folder structure (#23) Apr 13, 2017
MANIFEST.in Integrating readme_renderer into build and release process. (#92) Jun 12, 2017
README.rst Integrating readme_renderer into build and release process. (#92) Jun 12, 2017
appveyor.yml Use SqlToolsService built on .NET Core 2.0 and a build script updates ( Aug 17, 2017
build.py Use SqlToolsService built on .NET Core 2.0 and a build script updates ( Aug 17, 2017
dev_requirements.txt Use SqlToolsService built on .NET Core 2.0 and a build script updates ( Aug 17, 2017
dev_setup.py Use SqlToolsService built on .NET Core 2.0 and a build script updates ( Aug 17, 2017
mssql-scripter Feature/stdout fix (#84) May 18, 2017
mssql-scripter.bat Feature/stdout fix (#84) May 18, 2017
register_upload.py Feature/travis ci (#74) May 12, 2017
setup.cfg Modifying flake8 config to check for explicit files/directories. (#79) May 16, 2017
setup.py Use SqlToolsService built on .NET Core 2.0 and a build script updates ( Aug 17, 2017
sql-xplat-cli.pyproj Fix perf issue where main event loop takes 100% of CPU (#132) Aug 17, 2017
sql-xplat-cli.sln Fix perf issue where main event loop takes 100% of CPU (#132) Aug 17, 2017
tox.ini Integrating readme_renderer into build and release process. (#92) Jun 12, 2017
utility.py Use SqlToolsService built on .NET Core 2.0 and a build script updates ( Aug 17, 2017
verify_packaging.py Update SqlToolsService with SMO post processing enabled fix (#86) Jun 7, 2017

README.rst

https://travis-ci.org/Microsoft/sql-xplat-cli.svg?branch=dev https://ci.appveyor.com/api/projects/status/vpm8p71265ijytqs/branch/dev?svg=true https://codecov.io/gh/Microsoft/sql-xplat-cli/branch/dev/graph/badge.svg?token=M96uWrHOIu

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.