Skip to Content.
Sympa Menu

freetds - [freetds] Sybase Errors and Line Numbers

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brad Wery <bradwery AT gmail.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] Sybase Errors and Line Numbers
  • Date: Sat, 19 Jun 2010 12:03:21 -0500

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



  • [freetds] Sybase Errors and Line Numbers, Brad Wery, 06/19/2010

Archive powered by MHonArc 2.6.24.

Top of Page