Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to search a column name within all tables of a database

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%'

like image 898
user3841039 Avatar asked Sep 05 '25 19:09

user3841039


1 Answers

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


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!