Oracle的SQL-PLUS其實是有支援多國語系的回應,只要你設定好NLS_LANG環境變數即可‧
 
 
//使用美國語系
範例: C:\>set NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
      C:\>sqlplus rock_dba/123s@orcl as sysdba
      SQL*Plus: Release 10.2.0.1.0 - Production on Sun Jul 19 16:59:13 2009
      Copyright (c) 1982, 2005, Oracle.  All rights reserved.
      Connected to:
      Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
      With the Partitioning, OLAP and Data Mining options
      SQL> archive log list
      Database log mode              No Archive Mode
      Automatic archival             Disabled
      Archive destination            USE_DB_RECOVERY_FILE_DEST
      Oldest online log sequence     11
      Current log sequence           13
      SQL>
 

//使用台灣繁體中文語系
範例: C:\>set NLS_LANG=TRADITIONAL CHINESE_TAIWAN.ZHT16MSWIN950
      C:\>sqlplus rock_dba/123s@orcl as sysdba
      SQL*Plus: Release 10.2.0.1.0 - Production on 星期日 7月 19 16:58:32 2009
      Copyright (c) 1982, 2005, Oracle.  All rights reserved.
      連線到:
      Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
      With the Partitioning, OLAP and Data Mining options
      SQL> archive log list
      資料庫日誌模式              無儲存模式
      可自動儲存             關閉
      儲存目的地            USE_DB_RECOVERY_FILE_DEST
      最早的線上日誌順序     11
      目前日誌順序           13
      SQL>
arrow
arrow
    全站熱搜

    香 香蕉皮 發表在 痞客邦 留言(0) 人氣()