Home > Archive > MySQL Server Forum > June 2005 > MySQL 5 stored procedures: returning prematurely









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author MySQL 5 stored procedures: returning prematurely
Neil Zanella

2005-06-04, 9:23 am

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
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2009 droptable.com