12 2020 档案

摘要:根据表名 修改为小写 SELECT concat( 'alter table ', TABLE_NAME, ' change column ', COLUMN_NAME, ' ', LOWER( COLUMN_NAME ), ' ', COLUMN_TYPE, ' comment \'', COLU 阅读全文
posted @ 2020-12-15 09:56 秋香姑娘请你不要紧张 阅读(873) 评论(0) 推荐(0) 编辑
摘要:第一步:查询出所有要 truncate 的脚本 select CONCAT('truncate TABLE ',TABLE_NAME, ';') from INFORMATION_SCHEMA.TABLES where table_schema in ('plan-template');-- pla 阅读全文
posted @ 2020-12-11 10:28 秋香姑娘请你不要紧张 阅读(1048) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示