12 2020 档案
摘要:根据表名 修改为小写 SELECT concat( 'alter table ', TABLE_NAME, ' change column ', COLUMN_NAME, ' ', LOWER( COLUMN_NAME ), ' ', COLUMN_TYPE, ' comment \'', COLU
阅读全文
摘要:第一步:查询出所有要 truncate 的脚本 select CONCAT('truncate TABLE ',TABLE_NAME, ';') from INFORMATION_SCHEMA.TABLES where table_schema in ('plan-template');-- pla
阅读全文