I have created the following stored procedure for MySql schema on sqlfiddle
create procedure foobar(out msg int)
begin
set msg = 100;
end//
When i run the query to access the out parameter using
call foobar(@outval);
SELECT @outval;
I get the following error
ResultSet is from UPDATE. No Data.
I am not sure what am i doing wrong. Please suggest.
I am taking this as reference MySQL create stored procedure syntax with delimiter
Sql fiddle link: http://sqlfiddle.com/#!9/a2182/6