Chinaunix首页 | 论坛 | 博客

qsh

  • 博客访问: 3943815
  • 博文数量: 1015
  • 博客积分: 15904
  • 博客等级: 上将
  • 技术积分: 8572
  • 用 户 组: 普通用户
  • 注册时间: 2008-07-04 19:16
文章分类

全部博文(1015)

文章存档

2019年(1)

2017年(1)

2016年(19)

2015年(27)

2014年(30)

2013年(95)

2012年(199)

2011年(72)

2010年(109)

2009年(166)

2008年(296)

分类: Oracle

2013-01-27 14:13:22

    在linux下装了一个oracle 10g,登录sqlplus 后,显示

      SQL> startup

      ORACLE ???????

      Total System Global Area 167772160 bytes

      Fixed Size                  1218316 bytes

      Variable Size              67111156 bytes

      Database Buffers           96468992 bytes

      Redo Buffers                2973696 bytes

      ????????

      ????????

      然后赶快查看一下NLS

      SQL> show parameter nls_la

      NAME                                 TYPE        VALUE

      ------------------------------------ ----------- ------------------------------

      nls_language                         string      SIMPLIFIED CHINESE

      解决方法:

      退出sqlplus

      在oracle用户下执行

      export NLS_LANG=american_america.zhs16gbk

      可以编辑 bash_profile 文件进行永久设置

      vi .bash_profile

      NLS_LANG=american_america.zhs16gbk export NLS_LANG

      再重新登录sqlplus

      SQL> startup

      ORACLE instance started.

      Total System Global Area 167772160 bytes

      Fixed Size                  1218316 bytes

      Variable Size              67111156 bytes

      Database Buffers           96468992 bytes

      Redo Buffers                2973696 bytes

      Database mounted.

      Database opened.

      SQL>

      Ok,搞定

    oracle字符集问题,登陆sqlplus出现问号

阅读(1233) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~