Sybase Errors and Line Numbers

Brad Wery <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
How can I get the line number that an error occurred on (i.e. after trying
to execute invalid SQL)? SQL Server has the SQL_DIAG_SS_LINE parameter for
SQLGetDiagField. I was hoping that it would also work for Sybase.

It should be possible. I was able to get the line number for an error when
using the Sybase Open Client. Does this information come down the wire and
not get processed?

Brad
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.