如何在PostgreSQL中搜索变量名?

时间:2017-12-05 21:17:31

标签: postgresql search tablename

我想在'PostgreSQL'数据库中搜索特定的变量名。类似于以下'Teradata'查询

Select TableName, ColumnName from
DBC.Columns
Where ColumnName like (‘%profile%’)

PostgreSQL中是否有类似的查询?

1 个答案:

答案 0 :(得分:0)

Postgres documentation

SELECT table_name,column_name
FROM information_schema.columns
WHERE column_name  like '%profile%'
相关问题