There was some discussion recently on the freetds mailing list about how to handle OUTPUT parameters from stored procedures when talking to MS-SQL. I don't remember exactly what the problem was, but you may want to check the archives of the freetds mailing list (should be linked from the
FreeTDS site)
Michael