How to locate what you don't know, especially what view you want to query

Source: Internet
Author: User


How to locate what you don't know: especially to know which view to query. If I want to check what is related to role, I rely on dba_objects, so: SQL> select object_name from dba_objects where object_name like '% ROLE %'; www.2cto.com OBJECT_NAME descridba_roles includefrole $ ~jis $ ROLE_TRIGGER $ {{session_roles =dba_roles OBJECT_NA ME too many tables ROLE_SYS_PRIVS ROLE_TAB_PRIVS SESSION_ROLES USER_ROLE_PRIVS VBZ $ paivbz $ ROLE_GRANTS 19 rows selected? At most, you can check it at desc or test it again. Then, you can easily locate the document.
This is a long-term method for individuals who are not familiar with views. It is simple to say, but effective !!!!

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.