手机
当前位置:查字典教程网 >编程开发 >Oracle教程 >Oracle解除对SCOTT/TIGER用户的锁定
Oracle解除对SCOTT/TIGER用户的锁定
摘要:Oracle解除对SCOTT/TIGER用户的锁定1、查证目前系统对于SCOTT用户的状态:select*fromdba_userswher...

Oracle 解除对SCOTT/TIGER用户的锁定

1、查证目前系统对于SCOTT用户的状态:

select * from dba_users where upper(username)='SCOTT';

ACCOUNT_STATUS:EXPIRED & LOCKED

2、解除对于SCOTT用户的锁定:

conn sys/bitservice@ttonline as sysdba;

alter user scott account unlock;

select * from dba_users where upper(username)='SCOTT';

ACCOUNT_STATUS:EXPIRED

3、连接SCOTT用户:

conn scott/tiger@ttonline;提示该用户已经过期,请重新输入新的密码:tiger

conn scott/tiger@ttonline;此次可以正常连接此用户。

4、查看SCOTT用户的状态:

conn sys/bitservice@ttonline as sysdba;

select * from dba_users where upper(username)='SCOTT';

ACCOUNT_STATUS:OPEN

【Oracle解除对SCOTT/TIGER用户的锁定】相关文章:

Oracle除去数据中的换行符以免读取出现问题

Oracle平台应用数据库系统的设计与开发

Oracle minus使用

oracle更改用户名称

Oracle动态交叉表生成

[Oracle] 分析AWR报告的方法介绍

oracle命令行删除与创建用户的代码

oracle 下WITH CHECK OPTION用法

Oracle与Mysql自动增长列(id)的区别

oracle中文乱码解决的办法

精品推荐
分类导航