写一个存储过程,造一点测试数据

drop procedure if exists copy_task_proc;

/* 
 * 存储过程,将指定SQ执行totalCount次 
 */
create procedure copy_task_proc(IN totalCount int)
begin

	declare i int;
	set i=0;
	while i

你可能感兴趣的:(MySQL,DB)