我在命令提示符下输入:sqlplus /nolog 然后回车打开sqlplus,命令提示符由原来的e:\>变成SQL>。在e:\>下,按CTRL+SPACE切换能键入中文,但是在SQL>下,无法切换到中文输入状态,不能输入中文。请问在命令提示符下登陆sqlplus,比如想给查询的某个字段附一个中文标签,怎么输入中文。

解决方案 »

  1.   

    可以的
    C:\Documents and Settings\TANG>sqlplus / as sysdbaSQL*Plus: Release 10.2.0.1.0 - Production on 星期二 4月 6 22:58:09 2010Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    连接到:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining optionsSQL> select 'abc' 测试 from dual;测
    ---
    abcSQL>微软拼音 半:
      

  2.   

    可是我的登陆到数据库了,按CTRL+SPACE或者CTRL+SHIFT都没有任何反应。还是不能输入中文。
      

  3.   

    sql plus可以直接输入中文的啊!SQL*Plus: Release 11.1.0.7.0 - Production on 星期三 4月 7 10:55:36 2010Copyright (c) 1982, 2008, Oracle.  All rights reserved.请输入用户名:  system
    输入口令:连接到:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optiSQL>
    SQL> 可以我可以的啊  
      

  4.   

    SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 4月 7 1Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    连接到: 
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 -
    With the Partitioning, OLAP and Data Mining options
    SQL>  可以输入中文啊
      

  5.   

    谢谢各位,我说的不是Oracle自带的sqlplus工具,而是在windowsxp系统的cmd下,用c:\>sqlplus /nolog 回车,然后在SQL>下输入中文。如果知道,请说明是怎么切换的。ctrl+shift和ctrl+space试过了,不能切换到中文输入状态。
      

  6.   

    Microsoft Windows XP [版本 5.1.2600]
    (C) 版权所有 1985-2001 Microsoft Corp.C:\Documents and Settings\Administrator>sqlplus /nologSQL*Plus: Release 10.2.0.1.0 - Production on 星期三 4月 7 14:33:19 2010Copyright (c) 1982, 2005, Oracle.  All rights reserved.SQL> 中文
      

  7.   

    Microsoft Windows XP [版本 5.1.2600]
    (C) 版权所有 1985-2001 Microsoft Corp.C:\Documents and Settings\Gao>sqlplusSQL*Plus: Release 9.2.0.1.0 - Production on 星期三 4月 7 14:34:48 2010Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.请输入用户名:  system/manager@gao连接到:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - ProductionSQL> 可以输入中文啊!
      

  8.   

    [TEST1@orcl#08-4月 -10] SQL>大抵抗力
      

  9.   

    先试试在 sqlplus 中运行,
    sqlplus /nolog
    sql > host chcp 936
    再用 ctrl + space 切换。如果不行,试试直接在“语言栏”中选择中文输入法(运行 "C:\WINDOWS\system32\rundll32.exe" shell32.dll,Control_RunDLL input.dll 命令打开“文字服务和输入语言”对话框设置显示语言栏)。