【问题标题】:Search for a variable in Datawarehouse (Postgresql)在 Datawarehouse (Postgresql) 中搜索变量
【发布时间】:2020-08-04 14:22:43
【问题描述】:

我有我正在寻找的变量的正确名称:ab_testing__x 但数据仓库中有几个表。是否有命令可以帮助您快速识别该变量存储在哪些表中?

谢谢!

【问题讨论】:

    标签: postgresql variables search command data-warehouse


    【解决方案1】:

    使用information_schema 表:

    select table_schema, table_name 
      from information_schema.columns
     where column_name = 'ab_testing__x';
    

    【讨论】:

      猜你喜欢
      • 2018-05-19
      • 1970-01-01
      • 1970-01-01
      • 2019-03-18
      • 2018-05-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-08-15
      相关资源
      最近更新 更多