I have a stored procedure which contains more that 25 queries and pass the line limit of MySQL stored procedure causing memory exhausted error.
So what I want is to divide it into two stored procedures and create a third stored procedure to union the two procedures. Can anyone help me with this?