Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Lower case username logon problem
Johnny Williams wrote:
> Hi,
>
> I've created the following username:
>
> CREATE USER "Test" IDENTIFIED BY test;
> GRANT CREATE SESSION TO "Test";
>
> Can anyone explain why SQLPLUS "Test"/test and SQLPLUS "Test"/"test" both
> fail with 'ORA-01017: invalid username/password; logon denied'?
>
> Yet just entering SQLPLUS and entering the username and password at the
> prompts works:
>
> Enter user-name: "Test"
> Enter password: (test or "test" typed here)
>
> Connected to:
> Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
> With the Partitioning, OLAP and Data Mining options
>
> SQL>
>
> Thanks for any help.
>
>
In Oracle 9.2.0.7 on Solaris, I get the same results you did. I cannot answer *why* this is occuring. Maybe SQL*Plus is doing something different when the username is a command line parameter as opposed to the response to a question.
But the real reason I am writing this is to question why you are trying to create a username that is case sensitive? To me, this is asking for major confusion down the road. Why not use all upper case as Oracle defaults to?
Cheers,
Brian
-- =================================================================== Brian Peasland dba_at_nospam.peasland.net http://www.peasland.net Remove the "nospam." from the email address to email me. "I can give it to you cheap, quick, and good. Now pick two out of the three" - UnknownReceived on Thu Oct 12 2006 - 11:41:31 CDT