Hi,
I remind reading somewhere (was it on mysqlperformanceblog or in one of Peter’s presentation) that doing:
select * from mytable where param=‘12334’
instead of
select * from mytable where param=12334
was bad performancewise.
Can someone confirm this and explain why, please?
Thanks,
inner
November 7, 2006, 11:03am
2
Hi,
i think this is pretty self-explanatory: http://www.mysqlperformanceblog.com/2006/09/08/why-index-cou ld-refuse-to-work/
Regards,
Aurimas
Thank you, I should have searched it myself.
Actually I was thinking it the other way (ie integer field and number as string in request).
It seems it is harmless in this case (although it is misleading).