There are different methods to run queries against an SQL Server from a Linux machine. The one I am using is mssql-cli (https://github.com/dbcli/mssql-cli)
As you can check in the related github website, it has the following features:
- Auto-completion
- Syntax highlighting
- Query history
- Configuration file support
- Multi-line queries
Installation
The -Q parameter
It has been packetized for a lot of distributions … Read more