[freetds] dbresults() SUCCEEDs but dbnextrow() returns NO_MORE_ROWS

Roberto Sierra rsierra at gio.etsit.upm.es
Tue Feb 14 11:05:41 EST 2006


Hello to all,

I'm having a weird problem when connecting to a MSSQL server using FreeTDS.

After a rather involved query which, when performed manually yields 
several rows, dbresults() returns SUCCEED, but any other call like 
dbbind(), dbnextrow() or dbrows() FAILs. Weirdest of all, the exact same 
code ran ok with a previous version of freetds. Other queries apparently 
don't share this problem.

Anyone have some idea on what is the cause, or how to debug it?

Thanks very much in advance for your help.

Best regards,
Roberto Sierra.


More information about the FreeTDS mailing list