mysql循环建表_mysql 批量建表 存储过程
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...