ORA-00942 tables or views encountered during storage do not exist

Source: Internet
Author: User

ORA-00942 tables or views encountered during storage do not exist

Solution:

Grant select, insert, update, delete on bookmarks. * to bm_user @ localhost identified by 'Password'

Authorization statement: Grants the XXX select, insert, update, and delete permissions to the bm_user table.

Log on to the system as sys and grant the select and delete sys. fga_log $ permissions to the system. Otherwise, the following stored procedure may be added.

SQL> grant select, delete on sys. fga_log $ to system;

Cause:

Later, I found out that if the user has a dba role, the permissions contained in the role will not be inherited in the stored procedure; so I separately granted explicit permissions to tb_bil_acct_566, seq_bil_acct_hisid_566.nextval, etc, solve the problem.

Where can I see the Authorization result of grant authorization?

Grant select, delete on sys. fga_log $ to system; -- which base table is changed? -- Dba_tab_privs

Select * from dba_tab_privs where grantee = 'system' AND TABLE_NAME = 'fga _ LOG $ '[@ more @] grant select, delete on sys. fga_log $ to system; -- which base table is modified? -- Dba_tab_privs

Select * from dba_tab_privs where grantee = 'system' AND TABLE_NAME = 'fga _ LOG $

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.