mysql 通过sql 修改多表增加多个字段
SET SESSION group_concat_max_len = 20240;show variables like 'group_concat_max_len'
select group_concat('alter table ', table_schema, '.', table_name, ' add column test INT(10);' SEPARATOR "") from information_schema.tables WHERE TABLE_SCHEMA = 'db_vue_p
原创
2022-06-22 16:42:48 ·
465 阅读 ·
0 评论