How do you import the sample Oracle HR database into SQL Developer?

三世轮回 提交于 2019-12-02 18:21:30

问题


EDIT: I think I'm close to solving this now. i will self-answer if so

I've been stuck on this for a while now - I want to use the sample Oracle Human Resources database. I've been studying through these instructions to no avail.

So I have downloaded both Oracle Database 11g Express Edition, along with SQL Developer. And I can play with it and create a sample database. But I don't know how to use the HR database.

any tips appreciated. thanks


回答1:


Good news - I finally figured it out. I had to go into SQL Command Line, and then put in these commands( from this link) :

Type: connect

Enter user-name: system

Enter password:

Then, we need to unlock the HR :

SQL> ALTER USER hr ACCOUNT UNLOCK;

Then we make a password for this user :

SQL> ALTER USER hr IDENTIFIED BY <hr-password>;

So after this, I could access it from SQL Develloper. thanks



来源:https://stackoverflow.com/questions/19059081/how-do-you-import-the-sample-oracle-hr-database-into-sql-developer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!