With unixODBC you can use a simple command line utility called \"isql\" to test your connection and permissions of some queries. Without having to write extra code or instal
Make a file SOMEFILENAME.udl then double click on it and set it up as an ODBC connection object, username, pwd, target server