MySQL创建procedure存储过程
create procedure sp_queryCount (out rowCount int)
begin
declare rows int default 0;
select count(*) into rows from tb_db;
set rowCount = rows ;
end
create procedure sp_queryCount (out rowCount int)
begin
declare rows int default 0;
select count(*) into rows from tb_db;
set rowCount = rows ;
end