-
How to stop and return from a stored procedure
Dear all,
This question is regarding MySQL stored procedure.
I would like to stop and return from the middle of a stored procedure (SP). As SP does not have a RETURN command, how can I do this?
Here is an example:
create procedure test()
begin
...
...
return; <-- how to do something like this?
...
...
end
//
Thank you!
-
-
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks