CREATE VIEW ORA-01031: Insufficient permissions

Source: Internet
Author: User

A view is a virtual table, and a new virtual table is created to facilitate the removal of fields required by various tables. The modification of the view requires the matching of the trigger.

If you are simply looking for a table in the same scenario to create a view, you only need that user's CreateView permissions to create it. But if you create a view that involves querying a table in another scenario, then we need the right to select any table.

Authorization command:

Cmd

Sqlplus "/as sysdba

Grant Select any table,create view to user;

Report:

Oracle's system and object permissions
Alter any cluster modify the permissions of any cluster
Alter any index to modify permissions on arbitrary indexes
Alter any roles modify permissions for any role
Alter ANY SEQUENCE permission to modify any sequence
Alter any snapshot permissions to modify any snapshot
Alter any table to modify permissions on arbitrary tables
Alter any trigger modify the permissions of any trigger
Alter cluster Modify permission to own a cluster
ALTER DATABASE permissions to modify databases
Alter procedure modify the owning stored procedure permissions
Alter profile permissions to modify the Resource Constraint summary table
Alter resource cost set the right to the tale of resource overhead
Alter ROLLBACK segment Modify the permissions of the rollback segment
Alter sequence modify the owning sequence permissions
Alter session permissions to modify database sessions
Alter SYTEM permissions to modify database server settings
ALTER TABLE modifies owned table permissions
Alter TABLESPACE permissions to modify table spaces
Alter user modifies permissions for users
Analyze use the Analyze command to parse any table, index, and cluster in the database
Audit any set auditing options for any database object
Audit system allows systems to operate audits
Backup any table to back up permissions on any of the tables
Become user's permission to switch users state
Commit any table permission to submit tables
Create any cluster permissions for creating a cluster for any user
Create any index permissions for creating an index for any user
Create any procedure permissions for creating stored procedures for any user
Create any sequence permissions for creating a sequence for any user
Create any snapshot permissions for creating snapshots for any user
Create any synonym permissions for creating synonymous names for any user
Create any table creates table permissions for any user
Create any trigger permissions for creating triggers for any user
Create any view permissions for creating views for any user
Create cluster A user's permissions for creating a cluster
Create database link permissions created for the user
Create PROCEDURE permissions for user-created stored procedures
Create profile permissions for creating resource constraint summary tables
Create public database link permissions for creating a common db link
Create public synonym permissions for creating a common synonym name
Create Role permissions for roles
Create rollback segment Creates a rollback segment permission
Create session permissions for creating sessions
Create sequence the permissions for creating a sequence for the user
Create snapshot permissions for snapshots for users
Create synonym permissions for creating synonymous names for users
CREATE TABLE permissions for a user in creating tables
Create Tablespace permissions for table spaces
Create user creates permissions for users
Create View permissions for creating views for users
Delete any table to remove permissions from any row
Delete any view permission to remove rows from arbitrary views
Delete Snapshot permission to remove rows in a snapshot
Delete Table permissions for a user to delete a row
Delete view to remove permissions for a user from a view row
Drop any cluster permission to delete any cluster
Drop any index delete permissions on arbitrary indexes
Drop any procedure permission to delete any stored procedure
Drop any roles remove permissions for any role
Drop any sequence permission to delete any sequence
Drop any snapshot permission to delete any snapshot
Drop any synonym permission to delete any synonymous name
Drop any table delete permissions for any tables
Drop any trigger permission to delete any trigger
Drop any view permission to remove any views
Drop Profile permissions to delete resource Constraint summary tables
Drop public cluster permission to delete a common cluster
Drop Public database link removes permissions from a common data link
Drop public synonym permission to delete a common synonym name
Drop rollback Segment Delete the permissions for the rollback segment
Drop tablespace permission to delete a table space
Drop user remove permissions for users
Execute any procedure permission to execute any stored procedure
The Execute function performs the permissions of the stored function
Execute Package Execute the storage package permissions
Execute procedure permissions to execute user stored procedures
Force any transaction to manage output permissions for any uncommitted transactions
Force transaction to manage output permissions for uncommitted user transactions
Grant any privilege permissions granted to any system privilege
Grant any roles grant permissions to any role
Index table indexes permissions on tables
Insert any table permissions for inserting rows into any table
Insert snapshot permissions for inserting rows into the snapshot
Insert table permissions for inserting rows into a user table
Insert View permissions to insert rows into the user view
Lock any table with permission to lock any tables
Manager tablespace permissions to manage (backup availability) tablespaces
Permissions for references table reference tables
Restricted session to create restricted database sessions permissions
Select any sequence permission to use any sequence
Select any table uses permissions for any of the tables
Select snapshot permissions to use snapshots
Select sequence permissions to use the user sequence
Select table uses permissions for user tables
Select View Use permissions for views

Selectany dictionary can find any dictionary
Unlimited tablespace permissions that do not limit the size of the table space
Update any table modifies the permissions of rows in any of the tables
Update snapshot to modify the permissions of the rows in the snapshot
Update table permissions to modify rows in the user table
Update view Modify permissions for rows in view

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.