freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] SQLRowCount problem with freeTDS+unixODBC+PHP with MSSQL
- From: "Lowden, James K" <LowdenJK AT bernstein.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] SQLRowCount problem with freeTDS+unixODBC+PHP with MSSQL
- Date: Fri, 16 Dec 2005 16:10:17 -0500
> From: Roger "Peña" Escobio
> Sent: Friday, December 16, 2005 3:44 PM
>
> I can't retrive the correct RowCount after a 'select' query, nor
> do I can call another query, but if I run across all the result
> (either with odbc_fetch_row() of odbc_result_all() ) I can get the
> _right_ RowCount and execute another SQL query
http://www.freetds.org/faq.html#pending
These issues are both related to the fact that the rows are transmitted as
the server fetches them. Until the last row is fetched, the rowcount is not
known.
> another problem is that the "row pointer", the one that allow to
> retrive a particular row from the result, do not work at all :-(
I suspect this has to do with the fact that we don't support cursors and
bookmarks. I'm not an ODBC kinda guy, though, and if I'm off base, I'm sure
someone will correct me.
> I am using: freetds-0.63-1.2.el4.rf unixODBC-2.2.11-6_CentOS4
> php-4.3.9-3.9
Regards,
--jkl
-----------------------------------------
The information contained in this transmission may be privileged and
confidential and is intended only for the use of the person(s) named
above. If you are not the intended recipient, or an employee or agent
responsible
for delivering this message to the intended recipient, any review,
dissemination,
distribution or duplication of this communication is strictly prohibited. If
you are
not the intended recipient, please contact the sender immediately by reply
and destroy all copies of the original message. Please note that we do not
accept
account orders and/or instructions by e-mail, and therefore will not be
responsible
for carrying out such orders and/or instructions. If you, as the intended
recipient
of this message, the purpose of which is to inform and update our clients,
prospects
and consultants of developments relating to our services and products, would
not
like to receive further e-mail correspondence from the sender, please "reply"
to the
sender indicating your wishes. In the U.S.: 1345 Avenue of the Americas, New
York,
NY 10105.
-
Re: [freetds] SQLRowCount problem with freeTDS+unixODBC+PHP with MSSQL,
Lowden, James K, 12/16/2005
- Re: [freetds] SQLRowCount problem with freeTDS+unixODBC+PHP with MSSQL, Peña, 12/16/2005
-
Re: [freetds] SQLRowCount problem with freeTDS+unixODBC+PHP with MSSQL,
Peña, 12/16/2005
- Re: [freetds] SQLRowCount problem with freeTDS+unixODBC+PHP with MSSQL, James K. Lowden, 12/16/2005
-
Re: [freetds] SQLRowCount problem with freeTDS+unixODBC+PHP with MSSQL,
Frediano Ziglio, 12/17/2005
- Re: [freetds] SQLRowCount problem with freeTDS+unixODBC+PHP with MSSQL, Peña, 12/17/2005
Archive powered by MHonArc 2.6.24.