We’re excited to introduce mssql-cli, a new and interactive command line query tool for SQL Server. This open source tool works cross-platform and proud to be a part of the dbcli.org community.
- Auto-completion
- Syntax highlighting
- Query history
- Configuration file support
- Multi-line queries
$ pip install mssql-cli
Please refer to the installation guide for detailed install instructions.
Please refer to the usage guide for details on options and example usage.
For general help content, pass in the -h
parameter:
$ mssql-cli --help
The mssql-cli tool includes a telemetry feature. Please refer to the telemetry guide for more information.
If you would like to contribute to the project, please refer to the development guide.
If you encounter any bugs with the tool please file an issue in the Issues section of our GitHub repo.
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.
mssql-cli is licensed under the BSD-3 license.
For users of the older mssql_cli 0.0.3, please specifically download 0.0.3 as that version is no longer being maintained.