oracle 10g登陆及scott解锁

http://yu-gao.blogspot.com/2008/03/oracle-10g-scott.html

 

事先启动数据库

①用sys连接到数据库:sqlplus / as sysdba
②alter user scott account unlock
③exit
④sqlplus scott/tiger
⑤一般提示需要修改密码,修改完毕即可使用。
⑥show user; USER is "SCOTT" 修改成功!

使用scott用户,是因为一般scott用户下建立了默认的table用来使用学习,很方便。有以下几个方法可以查询scott用户下面的表:
①select table_name,column_name from dba_tab_cols where owner='SCOTT' order by table_name; (系统用户)
②select * from cat; (scott用户)
③select * from user_tables (scott用户)
④select * from tab; (scott用户)
⑤select owner,table_name from dba_tables where OWNER='SCOTT'; (系统用户)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值