MySQL Forums
Forum List  »  Newbie

Re: Using a variable with LIMIT in SELECT statement
Posted by: ddelanuez
Date: October 31, 2005 01:32PM

One more thing I noticed reading-up on prepared statements:

"SQL syntax for prepared statements cannot be used within stored routines (procedures or functions), or triggers. This restriction is lifted as of MySQL 5.0.13 for stored procedures, but not for stored functions or triggers."

So it won't work unless you're using a pretty recent version! (you should be using the production version anyway)

Options: ReplyQuote


Subject
Written By
Posted
Re: Using a variable with LIMIT in SELECT statement
October 31, 2005 01:32PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.