Re: numRows()
| From: | (Mikhail Zabaluev) | Date: | Sat, 09 Dec 2000 09:29:36 +0000 |
| Subject: | Re: numRows() | ||
| References: | 1 2 3 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-621@lists.php.net to get a copy of this message | ||
Hello php-pear,
On Fri, Dec 08, 2000 at 15:12 +0300, Mikhail Zabaluev wrote:
>
> Hello Stig,
>
> On Fri, Dec 08, 2000 at 11:10 +0100, Stig S. Bakken wrote:
> >
> > "James L. Pine" wrote:
> > >
> > > On Fri, 8 Dec 2000, Stig S. Bakken wrote:
> > >
> > > > What does affectedRows return for Oracle when you do "delete from
> > > > table"? Mysql_affected_rows() returns 0 in this case. This can be
> > > > emulated by sneaking in a "select (*) from" first, but that's not
> > > > giving
> > ^
> > There's a "count" missing up here ----'
>
> Queries like this are believed to be very fast in MySQL, so why not?
Sorry, I considered only unconditional selects. Then, I'm for the
'optimized' option.
--
Stay tuned,
MhZ mailto:mookid@sigent.ru
-----------
You don't sew with a fork, so I see no reason to eat with knitting needles.
-- Miss Piggy, on eating Chinese Food