我正在尝试更改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