Thursday, December 22, 2016

Working with Microsoft SQL Server (MSSQL) from Ubuntu Linux Terminal

Change your TDS version below as needed. You can add the $password directly at the end if you know what you are doing.
# To install tsql: sudo apt install freetds-bin
TDSVER=8.0 tsql -H $host -p $port -D $database -U $user -P

No comments:

Followers