oracle修改用户密码

修改密码命令:

alter user [user]  identified by ''password";

可能出现的错误:

ora-988 ora-00988

错误原因可能是 单双引号造成的

alter user [user]  identified by "1234";

注意必须是双引号,单引号不行。
ORA-28221: REPLACE not specified
可能为: 用户没有alter user的权限,或者是没有使用replace子句。
1.给权限
2.使用如下语句:
alter user [username] identified by "new_pwd" replace "old_pass";
 
 

猜你喜欢

转载自FFRL.iteye.com/blog/1985575