标签:tab bsp ati -- sel sch format SQ concat
-- 生成删除xxx数据库的所有表的sql语句
SELECT CONCAT(‘drop table ‘,table_name,‘;‘) FROM information_schema.`TABLES` WHERE table_schema=‘xxx‘;
-- 生成查询xxxx数据库的所有表的sql语句
SELECT CONCAT(‘select * from ‘,table_name,‘;‘) FROM information_schema.`TABLES` WHERE table_schema=‘xxx‘;
标签:tab bsp ati -- sel sch format SQ concat
原文地址:https://www.cnblogs.com/cdfive2018/p/8998907.html