SELECT CONCAT( ‘drop table ‘, table_name, ‘;‘ ) FROM information_schema. TABLES WHERE table_schema = ‘dbname‘ AND table_name LIKE ‘sth_%‘;
原文地址:https://www.cnblogs.com/codeaaa/p/9139159.html
时间: 2024-10-10 16:20:45
SELECT CONCAT( ‘drop table ‘, table_name, ‘;‘ ) FROM information_schema. TABLES WHERE table_schema = ‘dbname‘ AND table_name LIKE ‘sth_%‘;
原文地址:https://www.cnblogs.com/codeaaa/p/9139159.html