赞
踩
- DELIMITER $$
- CREATE
- PROCEDURE addSuchData(in i int)
- BEGIN
- WHILE i < 2000 DO
- INSERT INTO student VALUES(i,CONCAT('学生',CAST(i AS CHAR)));
- SET i=i+1;
- END WHILE;
- END$$
- DELIMITER ;
- CALL addSuchData(0);
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。