oracle 连接HR数据库

1Connect /as sysdba

2Alter user hr identified by hr account unlock;         % 解锁hr用户

或者Alter user hr account unlock;

3connect hr/hr;                      %连接上hr数据库

4desc employees;                    %展示hr数据库中的employees数据表

 

Oracle两个自带的默认的用户名和密码:

hr/hr

scott/tiger

 

查看HR用户中所有的表:

select table_name from user_tables;

猜你喜欢

转载自likelike.iteye.com/blog/2058886