Click here to Skip to main content
15,883,531 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to drop database in oracle 10g

i am trying bellow steps but gives error ORA-01031: insufficient privileges
any solution for ORA-01031

1. Connect as sys user
2. shutdown the database
3. Mount the database with restrict mode
4. Drop the database
5. Clean up the files manually(trace files, password file, folders, cleaning the tnsentry, archive redo log files, RMAN backup files)

SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup restrict mount;
ORACLE instance started.
Posted
Updated 31-Jul-14 20:33pm
v2

1 solution

Obviously your user needs permissions to delete the database which it does not have, read this : http://www.dba-oracle.com/t_ora_01031_insufficient_privileges.htm[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900