Oracle Query library for all table names, field names, table name descriptions, field name Descriptions (original)

Source: Internet
Author: User
Tags joins

Query all table names:
Select T.table_name from User_tables t;
Query all field names:
Select T.column_name from User_col_comments t;
Query all field names for the specified table:
Select T.column_name from user_col_comments t where T.table_name = ' biz_dict_xb ';
Query all field names and field descriptions for the specified table:
Select T.column_name, t.column_name from user_col_comments t where T.table_name = ' biz_dict_xb ';
query table names and table descriptions for all tables:
Select t.table_name,f.comments from User_tables t inner joins user_tab_comments f on t.table_name = F.table_name;
Query the table name and table description for the fuzzy table name:
Select T.table_name from User_tables t where t.table_name like ' biz_dict% ';
Select t.table_name,f.comments from User_tables t inner joins user_tab_comments f on t.table_name = F.table_name where T.ta Ble_name like ' biz_dict% ';

Oracle Query library for all table names, field names, table name descriptions, field name Descriptions (original)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.