osql

FreeTDS command-line utilities

Install

All systems
curl cmd.cat/osql.sh
Debian Debian
apt-get install freetds-bin
Ubuntu
apt-get install freetds-bin
Alpine
apk add freetds
Arch Arch Linux
pacman -S freetds
image/svg+xml Kali Linux
apt-get install freetds-bin
Fedora
dnf install freetds
Windows (WSL2)
sudo apt-get update sudo apt-get install freetds-bin
OS X
brew install freetds
Raspbian
apt-get install freetds-bin
Docker
docker run cmd.cat/osql osql powered by Commando

freetds-bin

FreeTDS command-line utilities

FreeTDS is an implementation of the Tabular DataStream protocol, used for connecting to MS SQL and Sybase servers over TCP/IP. This package includes the command-line utilities shipped with FreeTDS.

freetds

Library for accessing Sybase and MS SQL Server databases