Solution to Oracle Scott lack of view permissions, oraclescott

Source: Internet
Author: User

Solution to Oracle Scott lack of view permissions, oraclescott

In PL/SQL Developer database management tools, log on with the SCOTT user account, create an SQL query window, enter an SQL statement to create a view, and then an error message is displayed: ORA-01031: insufficient permissions.

The error message shown is already clear. This is caused by insufficient permissions! Therefore, we only need to set the permissions of a scott user!

After checking on the internet, set the user permission to grant, and create view to create view, the statement to grant the scott user the permission to create view is the following:
Grant create view to scott

Procedure:
1. Enter cmd in the running process and click OK;
2. Enter sqlplus and press Enter;
3. Enter the system user and press Enter;
4. Enter the system password and press Enter;
5. Enter grant create view to scott; and press Enter.

Error message: the permission is insufficient! I hope this article will help you solve the problem according to the above steps.

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.