我想在'PostgreSQL'数据库中搜索特定的变量名。类似于以下'Teradata'查询
Select TableName, ColumnName from
DBC.Columns
Where ColumnName like (‘%profile%’)
PostgreSQL中是否有类似的查询?
答案 0 :(得分:0)
SELECT table_name,column_name
FROM information_schema.columns
WHERE column_name like '%profile%'