mysql>delimiter // mysql>create procedure ha(out a int) ->begin ->select count(*) into a from t; ->end ->// error 1064(42000); you have an error in your sql syntax; check the manual that corresponds to your mysql server version for the right syntax to use near 'procedure ha(out a int) begin select count(*) into a from t; end' at line 1
mysql>create procedure ha(out a int)
->begin
->select count(*) into a from t;
->end
->//
error 1064(42000); you have an error in your sql syntax; check the manual that corresponds to your mysql server version for the right syntax to use near 'procedure ha(out a int) begin select count(*) into a from t; end' at line 1