mssql-cli command-line query tool for SQL Server (Preview)

APPLIES TO: YesSQL Server YesAzure SQL Database YesAzure Synapse Analytics (SQL DW) NoParallel Data Warehouse

mssql-cli is an interactive command-line tool for querying SQL Server, install it on Windows, macOS, or Linux.

Install mssql-cli

For detailed installation instructions, see the Installation Guide, or if you know pip, install by running the following command:

$ pip install mssql-cli

mssql-cli documentation

Documentation for mssql-cli is located in the mssql-cli GitHub repository.

Additional documentation is located in the doc folder.