-2

I want to search for a particular variable name in ‘PostgreSQL’ database. Similar to the following ‘Teradata’ query

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

Is there a similar query in PostgreSQL?

S-Man
  • 22,521
  • 7
  • 40
  • 63
ckp
  • 579
  • 2
  • 10
  • 27

1 Answers1

0

Postgres documentation

SELECT table_name,column_name
FROM information_schema.columns
WHERE column_name  like '%profile%'
Akli REGUIG
  • 552
  • 4
  • 13