Skip to Content.
Sympa Menu

freetds - Troubles with fetching NULL result

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Vladimir Maximenko <mvu AT wplus.net>
  • To: TDS development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Troubles with fetching NULL result
  • Date: Wed, 11 Apr 2001 10:56:09 +0400 (MSD)


Hi!
I work with freetds 0.51 to connect SyBase 11.9.2 from FreeBSD station.
I have one trouble. when I try to get result with NULL field value in
selectstatement, I receave after
dbbind(dbproc,i+1,STRINGBIND,-1,(BYTE*) varbuff[i]) previos record's value

May somebody help me in this case? How can I get NULL value? Ya, in sqsh
it work perfectly!

--========== The best regards ============--

Vladimir U. Maximenko

mailto: mvu AT wplus.net





Archive powered by MHonArc 2.6.24.

Top of Page