nisql is a tool for use with MicrosoftŽ SQL Server 2000 and MSDE, to query SQL Server using Transact-SQL.
The main goal is to efficiently extract data for use with gnu tools, provided by Cygwin (http://www.cygwin.com) like gawk, bash, cut, sort, ...