This is sqlcmd, a SQL command interpreter. See the User's Guide for complete details.
NOTICE: I no longer maintain sqlcmd. It has been superceded by my Scala-based sqlshell tool.
To install sqlcmd in the default location, type:
python setup.py install
To install it somewhere else, such as your home directory, type:
python setup.py install --prefix=$HOME