开发者

Unlock an Oracle user with a batch file

Is there a way I can write a code into a batch file that will 开发者_运维知识库unlock a specific account in the specified database?


Call SQL*Plus (as a user with permissions to unlock accounts) from within the batch file and issue the DDL to unlock the user directly from in there.

Is that the sort of answer you were looking for or have I missed something in haste?


ALTER USER username ACCOUNT UNLOCK;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜