查询库下所有的表名

SELECT table_name FROM information_schema.tables WHERE table_schema='库名'

 

 

模糊表名查询

SELECT table_name FROM information_schema.tables WHERE table_schema='库名' AND table_name LIKE '表名前缀%' 

相关文章:

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