4

I'M TRYING to find a column called author_last_name in oracle-apex I want to find a column in my schema is it possible to search for a column or do i have to look through every table? i have at least 50 tables in my schema
select table_name,column_name from cihe.columns where column_name like '%author%'

user3841039
  • 43
  • 1
  • 1
  • 8
  • possible duplicate of [I want to show all tables that have specified column name](http://stackoverflow.com/questions/4197657/i-want-to-show-all-tables-that-have-specified-column-name) – Brian Robbins Jul 31 '14 at 15:08

2 Answers2

8
select table_name, column_name
from user_tab_columns
where column_name like '%AUTHOR%';

All system views are documented here: http://docs.oracle.com/cd/E11882_01/server.112/e25513/toc.htm

1

Use oracle data dictionary:

select table_name, column_name
  from all_tab_columns 
 where column_name = '<YOUR_COLUMN_HERE_IN_CAPITAL_CASE>'
neshkeev
  • 6,280
  • 3
  • 26
  • 47