Showing posts with label columns. Show all posts
Showing posts with label columns. Show all posts

Tuesday, February 22, 2011

Find all tables containing the specified column in Oracle

set pages 999 lines 100
col tab format a60
col column_name format a20
select owner || '.' || table_name as tab
, column_name
from dba_tab_columns
where column_name like upper('&col')
/