create procedure sp_queryCount (out rowCount int)

begin
         declare rows int default 0;
         select count(*) into rows from tb_db;
         set rowCount = rows ;
end

添加新评论