Dennis Volodomanov wrote:
Is doing a SELECT EXISTS (...) faster than a SELECT COUNT (... LIMIT 1)
or would it be the same (I would expect them to be the same, but that's
only my guess)?

I would expect them to be very nearly the same. Any difference would only be apparent if you repeat them many times (which is what you are doing). You should probably try it both ways and measure the execution time to see which is faster.

HTH
Dennis Cote

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to