note 25982 deleted from function.odbc-num-rows by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 09:04:15 +0000 |
| Subject: | note 25982 deleted from function.odbc-num-rows by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-196880@lists.php.net to get a copy of this message | ||
Note Submitter: Christian dot Schlager at t-online dot de
----
odbc_num_rows returns -1 with the drivers i'm using, too.
Using the keyword DISTINCT in the select-statement makes the function return the correct number of
rows.
Alas, this doesnt work if i want to select text from a table, because in this case, you cant use
DISTINCT.
Anyway, i hope it helps.