Examples for business, study, careers, love, and more...
Examples :: MYSQL Examples :: Example of Leave Mysql statement

Example of Leave Mysql statement:

create procedure spMySproc(IN iParam INT)
BEGIN
sproc:BEGIN
if iParam < 0 then
leave sproc;
end if;
END; # sproc: END;
END;

Example of Mysql Leave

LEAVE label