mysql 删除以某字符串开头的表
时间:2020-01-27 17:16:44
收藏:0
阅读:389
Select ‘SET FOREIGN_KEY_CHECKS = 0;‘
union
Select CONCAT( ‘drop table ‘, table_name, ‘;‘ )
FROM information_schema.tables
Where table_name LIKE ‘as_baiqishi%‘
UNION
Select ‘SET FOREIGN_KEY_CHECKS = 1;‘
不多解释了,复制,执行,ok!
原文:https://www.cnblogs.com/hl15/p/12236291.html
评论(0)