zoukankan      html  css  js  c++  java
  • Oracle Client Language Problem

    If you execute SP in the Oracle client and got the error like this:

    oracle.xdo.XDOException:   oracle.xdo.XDOException:   oracle.xdo.dataengine.datasource.plugin.DataAccessException:   java.sql.SQLException: ORA-06502: PL/SQL: 数字或值错误 : character string buffer too   small ORA-06512: 在   "FAISOWNER_SIT.PROFITLOSSREP_DG_PACK", line 1007 ORA-06512: 在   "FAISOWNER_SIT.AMRETURNREP_DG_PACK", line 810 ORA-06512: 在   "FAISOWNER_SIT.AMRETURNREP_DG_PACK", line 1058

    Maybe it’s the language problem.

    Execute this SQL:

                    select userenv('language') from dual

                   

                    if is SIMPLIFIED CHINESE_CHINA.ZHS16GBK, need to change “AMERICAN_AMERICA.AL32UTF8”.

    open regedit Commend,

    find path “HKEY_LOCAL_MACHINESOFTWAREWow6432NodeORACLEKEY_OraClient11g_home1”

                find the key is “NLS_LANG”, change name is “AMERICAN_AMERICA.AL32UTF8”

    In the CMD window:

    C:Users>set NLS_LANG=AMERICAN_AMERICA.AL32UTF8

    C:Users>echo %NLS_LANG%

    AMERICAN_AMERICA.AL32UTF8

    C:Users>"C:UserssoftwareToad   for Oracle 10.6Toad.exe"

  • 相关阅读:
    第七章
    第五章
    第六章
    Git使用入门
    源代码的下载和编译
    向中国最牛的前端群-鬼群致敬
    Normalize.css做了哪些事情--看代码
    谷歌浏览器:书签被误删了怎么办
    2013/8月读书计划
    Limu:JavaScript的那些书
  • 原文地址:https://www.cnblogs.com/IcanFixIt/p/4253065.html
Copyright © 2011-2022 走看看