remove a database via command line
658086Oct 1 2008 — edited Oct 1 2008hello,
i need to find a way to remove a db using command line instead of DBCA.
I tryed this:
connect sys/syspwd@mydb as sysdba;
shutdown abort;
startup mount exclusive restrict;
drop database;
exit
but when i arrive to execute "startup mount exclusive restrict" i get the error:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
indeed i've read that this way of proceed retains INIT.ora and any password file....
SO
i need the translation (onto command line procedure) of DBCA delete database utility
someone can help me?
thanks!