xuandi

Select CONCAT( \'drop table \', table_name, \';\' )
FROM information_schema.tables
Where table_ name LIKE \'dede_%\';

"dede"为要删除的表前缀,执行此SQL语句后会生成一串SQL语句,必须再执行生成的这些SQL语句才能真正执行删除操作

分类:

技术点:

相关文章:

  • 2021-10-19
  • 2021-10-19
  • 2021-10-19
  • 2021-10-29
  • 2021-10-19
  • 2021-10-19
猜你喜欢
  • 2021-10-19
  • 2021-05-18
  • 2021-10-19
  • 2021-12-10
  • 2021-10-19
  • 2021-12-10
  • 2021-11-30
相关资源
相似解决方案