gpt4 book ai didi

oracle - ORA-00988:密码丢失或无效

转载 作者:行者123 更新时间:2023-12-03 21:11:24 25 4
gpt4 key购买 nike

我正在尝试更改oracle密码:

alter user FOO identified by 'BAR';


我得到以下信息:

Error starting at line 120 in command:
alter user FOO identified by 'BAR'
Error report:
SQL Error: ORA-00988: missing or invalid password(s)
00988. 00000 - "missing or invalid password(s)"


这是怎么回事?

最佳答案

原来没有将密码放在单引号中。如果密码包含一些特殊字符,则需要双引号。

alter user FOO identified by 'BAR'; -- Broken
alter user FOO identified by BAR; -- Works
alter user FOO identified by "BAR"; -- Works

关于oracle - ORA-00988:密码丢失或无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30625490/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com