创建表
use test;
drop table if exists enterprise;
create table enterprise(
id bigint(20) not null AUTO_INCREMENT,
name varchar(36),
status TINYINT DEFAULT '1',
primary key (id)
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
drop

本文介绍了如何使用MySQL存储过程高效地插入40万条数据,包括创建表的步骤和数据插入的过程,展示了存储过程在大数据量操作中的优势。
最低0.47元/天 解锁文章
415

被折叠的 条评论
为什么被折叠?



