469,331 Members | 5,129 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,331 developers. It's quick & easy.

MySQL 5 stored procedures: returning prematurely

Hello,

I would like to know whether it is possible to return prematurely from the
body of a MySQL 5 procedure. It seems MySQL 5 only allows the RETURN keyword
in PROCEDURES, so I end up having to solve this problem by using a whole
bunch of nested IF statements. Is there a better way?

Thanks!

Neil
Jul 23 '05 #1
0 900

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by slash | last post: by
175 posts views Thread by Sai Hertz And Control Systems | last post: by
3 posts views Thread by Marty | last post: by
4 posts views Thread by scparker | last post: by
7 posts views Thread by eholz1 | last post: by
7 posts views Thread by sathyashrayan | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Purva khokhar | last post: by
1 post views Thread by haryvincent176 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.