Использование MSSQL-CLI
mssql-cli -S <server name> -U <user name> -d <database name>
Real Rhinoceros
mssql-cli -S <server name> -U <user name> -d <database name>