C:\Users\balaz>sqlplus bp/bp@orcl
SQL*Plus: Release 12.1.0.2.0 Production on Wed Sep 28 15:51:40 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Last Successful login time: Wed Sep 28 2016 15:51:30 +02:00
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics,
Real Application Testing and Unified Auditing options
SQL> create user "U 1" identified by "PASS WORD";
User created.
SQL> grant create session to "U 1";
Grant succeeded.
SQL> exit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics,
Real Application Testing and Unified Auditing options
C:\Users\balaz>sqlplus \""U 1"\"/\""PASS WORD"\"@orcl
SQL*Plus: Release 12.1.0.2.0 Production on Wed Sep 28 15:52:07 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics,
Real Application Testing and Unified Auditing options
SQL> show user
USER is "U 1"
SQL>
fail
is a vague description. Usernames are case-sensitive.user2
and"user2"
are different users. The first one is automatically converted to uppercase (USER2
), while the second one remains lowercase because of the quoting marks, so I would not be surprised, if you received anORA-01017
. – Balazs Papp Oct 1 '16 at 7:35