时间:2021-07-01 10:21:17 帮助过:26人阅读
MYSQL:将所有表的存储引擎格式进行修改
[sql] SELECT GROUP_CONCAT(CONCAT( 'ALTER TABLE ' ,TABLE_NAME ,' ENGINE=ARCHIVE; ') SEPARATOR '' ) FROM information_schema.TABLES AS t WHERE TABLE_SCHEMA = 'userinfo' AND TABLE_TYPE = 'BASE TABLE'
-- 将语句粘出来,执行;
bitsCN.com