zoukankan      html  css  js  c++  java
  • NLS_LANG SIMPLIFIED CHINESE_CHINA.AL32UTF8 和american_america.AL32UTF8

    oadb01:/home/oracle> echo $NLS_LANG
    SIMPLIFIED CHINESE_CHINA.AL32UTF8
    oadb01:/home/oracle> sqlplus query/query
    
    SQL*Plus: Release 11.2.0.4.0 Production on 星期一 2月 15 20:49:30 2016
    
    Copyright (c) 1982, 2013, Oracle.  All rights reserved.
    
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> COL NICK FORMAT A30  
    SQL> SELECT * FROM DENGJI;
    
    NICK			       F CREATETIME
    ------------------------------ - --------------
    赵杨健                         1 15-2月 -16
    
    
    oadb01:/home/oracle> export NLS_LANG=american_america.AL32UTF8
    oadb01:/home/oracle> sqlplus query/query
    
    SQL*Plus: Release 11.2.0.4.0 Production on Mon Feb 15 20:51:25 2016
    
    Copyright (c) 1982, 2013, Oracle.  All rights reserved.
    
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> COL NICK FORMAT A30
    SQL> SELECT * FROM DENGJI;
    
    NICK			       F CREATETIME
    ------------------------------ - ------------------
    赵杨健                         1 15-FEB-16

  • 相关阅读:
    2 浮点数
    1 有符号与无符号
    4.变量和不同的赋值方式
    文档格式标准
    常用mysql命令
    一个简单的jsp+servlet实例,实现简单的登录
    容量调度器与公平调度器区别
    CListCtrl用法总结(二)
    CListCtrl 实现排序功能(数字和字母)
    CString 转换成 char *
  • 原文地址:https://www.cnblogs.com/zhaoyangjian724/p/6200424.html
Copyright © 2011-2022 走看看