I dropped the HR sample DB - now I'm lost! [message #485559] |
Wed, 08 December 2010 17:53 |
|
DataMouse
Messages: 31 Registered: December 2010 Location: New York, NY - United Sta...
|
Member |
|
|
I am using Oracle 10g XE. I wanted to completely remove the sample HR database so that I could create my own database.. So I followed these instructions:
sqlplus / as sysdba
SQL> shutdown immediate;
oracle database closed
oracle database dismounted
oracle instance shutdown
SQL> startup restrict mount;
SQL> drop database;
Database dropped
SQL> exit
So my question now is, how do I recreate a new database? Also, I am so confused - I can't even load the Oracle 10g XE Home Page. Why not? Why does a database have to exist for me to be able to open up the database admin tool? That doesn't make sense to me. I feel like I broke everything, lol. Help! Thanks.
|
|
|
|
Re: I dropped the HR sample DB - now I'm lost! [message #485563 is a reply to message #485562] |
Wed, 08 December 2010 18:17 |
|
DataMouse
Messages: 31 Registered: December 2010 Location: New York, NY - United Sta...
|
Member |
|
|
Thanks for your quick response, as this is frustrating and confusing. I really hope that it's simply because it's XE. If it was a regular copy of Oracle, would this still be the case?
The way I look at it is, XE is the database admin tool, and you should be able to have multiple databases. However, since Oracle 10g XEit's free, I know you can only have ONE database. So I was thinking, I'd drop the HR database and then recreate another database of my own. I guess I can't do this - or it doesn't sound like it.
Also, you said that I should've just dropped the schema, but then how do I create another database?
|
|
|
|
|
|
|
|
|
|
|
|
|
|