<legend id='Kk9Uu'><style id='Kk9Uu'><dir id='Kk9Uu'><q id='Kk9Uu'></q></dir></style></legend>
    • <bdo id='Kk9Uu'></bdo><ul id='Kk9Uu'></ul>

      <i id='Kk9Uu'><tr id='Kk9Uu'><dt id='Kk9Uu'><q id='Kk9Uu'><span id='Kk9Uu'><b id='Kk9Uu'><form id='Kk9Uu'><ins id='Kk9Uu'></ins><ul id='Kk9Uu'></ul><sub id='Kk9Uu'></sub></form><legend id='Kk9Uu'></legend><bdo id='Kk9Uu'><pre id='Kk9Uu'><center id='Kk9Uu'></center></pre></bdo></b><th id='Kk9Uu'></th></span></q></dt></tr></i><div id='Kk9Uu'><tfoot id='Kk9Uu'></tfoot><dl id='Kk9Uu'><fieldset id='Kk9Uu'></fieldset></dl></div>

      <small id='Kk9Uu'></small><noframes id='Kk9Uu'>

      <tfoot id='Kk9Uu'></tfoot>
      1. 如何在 MySQL 中找到包含特定列名的所有表?

        时间:2023-08-17
          <bdo id='69jxW'></bdo><ul id='69jxW'></ul>
          <i id='69jxW'><tr id='69jxW'><dt id='69jxW'><q id='69jxW'><span id='69jxW'><b id='69jxW'><form id='69jxW'><ins id='69jxW'></ins><ul id='69jxW'></ul><sub id='69jxW'></sub></form><legend id='69jxW'></legend><bdo id='69jxW'><pre id='69jxW'><center id='69jxW'></center></pre></bdo></b><th id='69jxW'></th></span></q></dt></tr></i><div id='69jxW'><tfoot id='69jxW'></tfoot><dl id='69jxW'><fieldset id='69jxW'></fieldset></dl></div>
          • <small id='69jxW'></small><noframes id='69jxW'>

                  <tbody id='69jxW'></tbody>
                <tfoot id='69jxW'></tfoot>
              • <legend id='69jxW'><style id='69jxW'><dir id='69jxW'><q id='69jxW'></q></dir></style></legend>

                  本文介绍了如何在 MySQL 中找到包含特定列名的所有表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我有 2-3 个不同的列名,我想在整个数据库中查找并列出所有包含这些列的表.有没有简单的脚本?

                  I have 2-3 different column names that I want to look up in the entire database and list out all tables which have those columns. Is there any easy script?

                  推荐答案

                  获取YourDatabase数据库中包含columnAColumnB列的所有表>:

                  To get all tables with columns columnA or ColumnB in the database YourDatabase:

                  SELECT DISTINCT TABLE_NAME 
                      FROM INFORMATION_SCHEMA.COLUMNS
                      WHERE COLUMN_NAME IN ('columnA','ColumnB')
                          AND TABLE_SCHEMA='YourDatabase';
                  

                  这篇关于如何在 MySQL 中找到包含特定列名的所有表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:错误 1698 (28000):拒绝用户“root"@“localhost&qu 下一篇:MySQL 错误代码:1175 在 MySQL Workbench 中的 UPDATE 期间

                  相关文章

                  最新文章

                1. <small id='LVI5R'></small><noframes id='LVI5R'>

                2. <i id='LVI5R'><tr id='LVI5R'><dt id='LVI5R'><q id='LVI5R'><span id='LVI5R'><b id='LVI5R'><form id='LVI5R'><ins id='LVI5R'></ins><ul id='LVI5R'></ul><sub id='LVI5R'></sub></form><legend id='LVI5R'></legend><bdo id='LVI5R'><pre id='LVI5R'><center id='LVI5R'></center></pre></bdo></b><th id='LVI5R'></th></span></q></dt></tr></i><div id='LVI5R'><tfoot id='LVI5R'></tfoot><dl id='LVI5R'><fieldset id='LVI5R'></fieldset></dl></div>
                  • <bdo id='LVI5R'></bdo><ul id='LVI5R'></ul>
                3. <tfoot id='LVI5R'></tfoot>
                4. <legend id='LVI5R'><style id='LVI5R'><dir id='LVI5R'><q id='LVI5R'></q></dir></style></legend>