linux下面是用sqlplus操作数据库,出现问号:
[oracle@rac2 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Thu Aug 2 09:19:56 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
???:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
解决办法:
SQL> show parameter nls_la
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
nls_language string SIMPLIFIED CHINESE
然后修改环境变量:NLS_LANG
[oracle@rac2 ~]$ export NLS_LANG=american_america.zhs16gbk
如果要使之永久生效,可以添加这个变量到oracle 用户环境 .bash_profile中。
问题解决
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22418990/viewspace-739587/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22418990/viewspace-739587/