in reply to fetch row or fetchall
In your case, if the where clause is complicated, the query will be slow,
so doing
will be slower than select bla from table where ...;select count(*) from table where ...; select bla from table where ... LIMIT 100;
It's probably the best to benchmark it on your table as results highly depend on your table size, data and oher things.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: fetch row or fetchall
by steves (Curate) on Nov 10, 2004 at 13:37 UTC |