无法使用 sqlplus 实用程序登录 oracle,因为用户名和密码包含空格

-1 oracle sqlplus

使用 oracle SQL Plus 命令提示符,我可以使用用户“p 6”登录。用于登录连接命令。 在此处输入图片说明

但我想使用 sqlplus 命令行实用程序并使用窗口命令提示符登录。但由于用户名和密码中的空间,它不起作用。我尝试了很多东西双引号,单引号,/ 等都不起作用。 在此处输入图片说明

Bal*_*app 7

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>
Run Code Online (Sandbox Code Playgroud)