in reply to Microsoft SQL to Unix command

Well, do look at the DBI documentation available. Also if you have any budget for this I highly recommend "Programming the Perl DBI" from O'reilly by Alligator Descartes & Tim Bunce.