1.
[oracle@ocp01 ~]$ echo $LANG
zh_CN.UTF-8 SQL> select userenv('language') from dual;
USERENV('LANGUAGE')
SIMPLIFIED CHINESE_CHINA.AL32UTF8
[oracle@ocp01 ~]$ grep -i nls ~/.bash_profile
NLS_LANG="SIMPLIFIED CHINESE_CHINA.AL32UTF8"
export ORACLE_BASE ORACLE_HOME ORACLE_SID NLS_LANG PATH col formate字段的时候显示全是###直接col value format 9999,或者不formate也行 在会话级别修改时间展示格式: set NLS_DATE_FORMAT='YYYY-MM-DD HH24'; |