您的位置:首页 > 数据库 > Oracle

ORACLE 查找字段在哪些表里存在

2013-08-07 17:49 225 查看
查找不是主键的字段在哪些表里存在:

select owner, table_name
from dba_tab_columns
where lower(column_name)='firstname';

查找主键的字段在哪些表里存在:

select owner, table_name
from dba_tab_columns
where column_name='firstname';
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: