mysql 存储过程 循环创建表,Frank的博客
delimiter //CREATE procedure create_table()BEGINDECLARE `@i` int(11);DECLARE `@sqlstr` varchar(65000);SET `@i`=0;WHILE `@i` < 256 DOSET @sqlstr = CONCAT("CREATE TABLE box_item_pool_",`@i`,"(`id` in...