Answers for "how to find a column in all tables in sql"

SQL
4

find tables with column name in sql

SELECT * FROM USER_TAB_COLUMNS WHERE COLUMN_NAME = 'MY_COLUMN'; -- Connected user
SELECT * FROM ALL_TAB_COLUMNS WHERE COLUMN_NAME = 'MY_COLUMN';	-- Other schemas
SELECT * FROM DBA_TAB_COLUMNS WHERE COLUMN_NAME = 'MY_COLUMN';	-- All tables
Posted by: Guest on May-09-2021

Code answers related to "how to find a column in all tables in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language