📜  在 sql 代码示例中查找具有列名的表

📅  最后修改于: 2022-03-11 15:05:11.739000             🧑  作者: Mango

代码示例1
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