SELECT CONCAT('truncate TABLE ',table_schema,'.',TABLE_NAME, ';') FROM INFORMATION_SCHEMA.TABLES WHERE table_schema IN ('ttsf_production');
批量操作mysql数据库表
猜你喜欢
转载自www.cnblogs.com/shenyixin/p/11302508.html
今日推荐
周排行