I want to show all tables that have specified column name

前端 未结 8 2413
粉色の甜心
粉色の甜心 2020-12-12 23:49

How can I get a list of all the tables that have a specific column name?

8条回答
  •  一生所求
    2020-12-13 00:30

    If you're trying to query an Oracle database, you might want to use

    select owner, table_name 
    from all_tab_columns
    where column_name = 'ColName';
    

提交回复
热议问题