Collections:
Privilege to Create Indexes in Oracle
What Privilege Is Needed for a User to Create Indexes in Oracle?
✍: FYIcenter.com
For a user to create indexes, he/she needs the same privilege as the creating tables. Just make sure he/she has the CREATE TABLE privilege. The following tutorial exercise gives you a good example on creating view privilege:
>.\bin\sqlplus /nolog SQL> connect SYSTEM/fyicenter SQL> GRANT CREATE TABLE TO dev; Grant succeeded. SQL> disconnect SQL> CONNECT DEV/developer SQL> CREATE INDEX fyi_index ON fyi(id); Index created. SQL> DROP INDEX fyi_index; Index dropped. SQL> CREATE INDEX fyi_index ON fyi(id); Index created.
This exercise assumes that you followed previous exercises in the FAQ collection.
⇒ Privilege to Query Tables in Another Schema in Oracle
⇐ Privilege to Create Views in Oracle
2019-06-29, 3175🔥, 0💬
Popular Posts:
Can You Drop an Index Associated with a Unique or Primary Key Constraint in Oracle? You can not dele...
What Is the Difference Between GETDATE() and GETUTCDATE() in SQL Server Transact-SQL? The difference...
What are DDL (Data Definition Language) statements for tables in SQL Server? DDL (Data Definition La...
What Happens If the Imported Table Already Exists in Oracle? If the import process tries to import a...
How To View Data Files in the Current Database in Oracle? If you want to get a list of all tablespac...