Sqsh


Sqsh, short for SQSHell, is an open-source substitute for isql, the interactive SQL client supplied with Sybase's Adaptive Server Enterprise relational database management system.
isql and sqsh are, essentially, rudimentary command-line tools for issuing Transact-SQL commands to an ASE Server and receiving and displaying results.
Sqsh supports, among others, command history, aliases and piping output to or from external programs and sources. It runs on various flavours of Unix, including Linux as well as Windows through the Cygwin libraries.