V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
esolve
V2EX  ›  问与答

知道一个表名的子字符串,如何在 mysql 里找到这个表?

  •  
  •   esolve · May 5, 2017 · 1734 views
    This topic created in 3293 days ago, the information mentioned may be changed or developed.

    在一台服务器上,mysql 里有十多个数据库 知道一个表的表名有一个“ note ”的子字符串 如何找到这个表?

    3 replies    2017-05-05 19:14:45 +08:00
    argos
        1
    argos  
       May 5, 2017
    写个程序遍历一下,可以参考下面链接中的 fillTableListIfEmpty 方法。
    https://github.com/tianshuang/mysql_table_toJavaBean/blob/master/src/main/java/me/tianshuang/GenerateJavaCodeFromMysql.java
    lynnworld
        2
    lynnworld  
       May 5, 2017
    shema 库
    aristotll
        3
    aristotll  
       May 5, 2017
    ` information_schema.columns` 这张表
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3354 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 12:45 · PVG 20:45 · LAX 05:45 · JFK 08:45
    ♥ Do have faith in what you're doing.