Hi,
Using you code are you able to talk to the SQL Server database at all?
I am no expert on SQL Server but as there are no reply posts yet I will have a stab :)
Which version of the TDS Libraries are you running? If you build
DBD::Sybase with the TDS libraries from
www.freetds.org you should be able to access SQL Server 2000 using the correct protocol.
For further ino have a look at
this article.
Hope this helps.
Martin