Skip to Content.
Sympa Menu

freetds - [freetds] Raiserror

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO Frediano" <Frediano.Ziglio AT vodafone.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Raiserror
  • Date: Wed, 3 Dec 2003 12:00:41 +0100

Some notes about this strange statements.
Does is exists a counterpart for Sybase ?
When a RAISERROR is issued server return a TDS_DONE/TDS_DONEINPROC token
with error setted. However it's not a syntax error, only a user raised
error... Strangely SQLExecute returns SQL_SUCCESS_WITH_INFO raising an
error and not SQL_ERROR (seem to ignore RAISERROR error...).
Perhaps libTDS should detect statement type processing TDS_*DONE tokens
and remove error flag on RAISERROR statements ??

freddy77



  • [freetds] Raiserror, ZIGLIO Frediano, 12/03/2003

Archive powered by MHonArc 2.6.24.

Top of Page