CREATE
TABLE
`test1` (
`id`
int
(10) unsigned
NOT
NULL
AUTO_INCREMENT,
`test1`
varchar
(255)
DEFAULT
''
,
`test2`
PRIMARY
KEY
(`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10001
CHARSET=utf8
drop
PROCEDURE
if exists test1;
DELIMITER $$
create
test1(var1
(10))
BEGIN
DECLARE
i
;
set
i = 0;
while i < 10000 do
insert
into
test1
values
(
null
,concat(var1, i), i);
i = i + 1;
end
while;
DELIMITER;