If you are attempting to connect to MS-SQL with Sybase's OpenClient libs then that's likely to fail (unless you have some specific version of MS-SQL 7 that supports the Sybase client libs).
If you are using FreeTDS - could you please run the same script with DBI->trace(3) and post or email me the output?
Thanks,
Michael
Comment on Re: Re: Re: Re: Connecting to a MS SQL 2k Server