前端之家收集整理的这篇文章主要介绍了
oracle 查询用户所有表及备注信息,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
select ATC.OWNER,atC.TABLE_NAME,utc.comments,ATC.COLUMN_NAME,ATC.DATA_TYPE,ATC.DATA_LENGTH,ATC.NULLABLE,ucc.comments from (select ATC.OWNER,ATC.NULLABLE from all_tab_columns ATC where ATC.owner in ('test') ) atc left outer join user_col_comments ucc on atc.table_name=ucc.table_name and atc.column_name=ucc.column_name left outer join user_tab_comments utc on atc.table_name=utc.table_name order by atc.table_name,atc.column_name
原文链接:https://www.f2er.com/oracle/212932.html