Hello,

I have a rather simple straightforward question that I was not able to find in any of the documentation.
I am in the process of writing an application, and I was wonder whether there is any benefit (or penalty) in LIMIT(ing) a LAST_INSERT_ID() query?


i.e.
SELECT LAST_INSERT_ID() FROM foo
vs.
SELECT LAST_INSERT_ID() FROM foo LIMIT 1

Thanks in advance,
Eric Absgarten

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to