Wednesday, March 21, 2012

Oracle: Search for column names in Oracle DataBase

I am looking for a SQL to find in tables in which a Column is present. The following SQL was helpful:

 

SELECT TABLE_NAME, COLUMN_NAME FROM ALL_TAB_COLUMNS WHERE COLUMN_NAME LIKE '%COL X%'

No comments: