ITeye博客

Oracle启用、禁用账户

rsljdkt · 2010-10-29 21:10 · DB · 数据库 · Oracle · Markdown

**版本:**Oracle11g R2

相关命令:

启用:alter user 【username】 account unlock

禁用:alert user 【username】 account lock

注意:启用已禁用的账户后,要设置密码。

 

【实例】

启用scott用户:

alter user scott account unlock

 设置密码位tiger:

alter user scott identified by tiger

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。