Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^4: prepare statement within DBIby dragonchild (Archbishop) |
on Aug 26, 2004 at 12:06 UTC ( [id://385974]=note: print w/replies, xml ) | Need Help?? |
From what I understood in my MySQL course a few months back, MyISAM tables actually keep the number of rows in the table stored somewhere. I'm not sure why it does this, but it does. So, select count(*) from table1; is actually special-cased in the MySQL code.
------
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose I shouldn't have to say this, but any code, unless otherwise stated, is untested
In Section
Seekers of Perl Wisdom
|
|