Skip to Content.
Sympa Menu

freetds - Re: [freetds] Update statement & SQL_NO_DATA

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Raju Mohanapu <rmohanapu AT nyx.com>
  • To: "James K. Lowden" <jklowden AT freetds.org>
  • Cc: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Update statement & SQL_NO_DATA
  • Date: Tue, 27 Jan 2009 18:27:33 +0000



SQLRowCount does not interrogate the server. It returns information the
driver already has. The server included the rowcount in the DONE packet
it sent to indicate the command was successfully completed.
SQLRowCount is also the only portable way to learn the rowcount, zero or
nonzero. :-)
Thank you folks for prompt replies. I'm relieved that SQLRowCount doesn't hit the db server.

Thanks
Raju

HTH.
--jkl







Archive powered by MHonArc 2.6.24.

Top of Page