zer0stimulus
zer0stimulus

Reputation: 23606

Oracle SQLDeveloper: How to search which tables have a column matching given query?

In SQL Developer, how do I find which table has a column that matches a specified search query?

Upvotes: 4

Views: 5732

Answers (1)

igr
igr

Reputation: 3499

Select table_name, column_name 
from user_tab_columns 
where column_name like '%'|| '&columnPattern' || '%' 

User_tab_columns for your own tables. Otherwise dba_tab_columns or all_tab_columns

Upvotes: 7

Related Questions