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!

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-21
  • 2021-11-25
  • 2021-10-03
猜你喜欢
  • 2021-08-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2023-03-25
相关资源
相似解决方案