linux下面是用sqlplus操作数据库,出现问号:
[oracle@rac2 ~]$ sqlplus / as sysdba
SQL*Plus:> Copyright (c) 1982, 2009, Oracle. All rightsreserved. ???: 应该是Connected to:
Oracle Database 11g Enterprise Edition> 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 SIMPLIFIEDCHINESE
然后修改环境变量:NLS_LANG
[oracle@rac2 ~]$ exportNLS_LANG=american_america.zhs16gbk
如果要使之永久生效,可以添加这个变量到oracle 用户环境 .bash_profile中。