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, 1731🔥, 0💬
Popular Posts:
How To Use DATEADD() Function in SQL Server Transact-SQL? DATEADD() is a very useful function for ma...
How To Download Oracle Database 10g XE in Oracle? If you want to download a copy of Oracle Database ...
What Is ISAM in MySQL? ISAM (Indexed Sequential Access Method) was developed by IBM to store and ret...
How To Drop a Stored Procedure in Oracle? If there is an existing stored procedure and you don't wan...
Where to find tutorials to answer some frequently asked questions on Microsoft SQL Server Transact-S...