Simple Example of MySQL procedure with parameter


PROCEDURE `general_count_email_number`(in v_email_id bigint, out v_count int)

call general_count_email_number(88, @count);
select @count;


Get the result back from @count

Comments

Popular posts from this blog

How to get Active Transactions and Locks from MySQL

Example of a PAC file