以scott用户为例
解锁
用system登录,密码为安装时自己设定的密码,不是默认密码
解锁代码:SQL> alter user scott account unlock;
修改scott的登录密码代码: SQL> alter user scott identified by tiger;
加锁
用system登录,密码为安装时自己设定的密码,不是默认密码
解锁代码:SQL> alter user scott account lock;
本文详细介绍了如何使用SQL命令对SCOTT用户账号进行解锁和加锁操作,包括登录系统、设置密码及执行解锁和加锁代码。
以scott用户为例
解锁
用system登录,密码为安装时自己设定的密码,不是默认密码
解锁代码:SQL> alter user scott account unlock;
修改scott的登录密码代码: SQL> alter user scott identified by tiger;
加锁
用system登录,密码为安装时自己设定的密码,不是默认密码
解锁代码:SQL> alter user scott account lock;
2388

被折叠的 条评论
为什么被折叠?