• oracle 环境变量配置 字符集编码配置


    字符编码的环境变量配置:

    http://jingyan.baidu.com/article/e73e26c0c20f1a24adb6a73e.html

    (1).数据库服务器字符集
    select * from nls_database_parameters

    (2).客户端字符集环境
    select * from nls_instance_parameters

    步骤:

    SQL>conn /as sysdba

       SQL>shutdown immediate;  

       SQL>startup mount

       SQL>ALTER  SYSTEM  ENABLE  RESTRICTED  SESSION;  

       SQL>ALTER  SYSTEM  SET  JOB_QUEUE_PROCESSES=0;  

       SQL>ALTER  SYSTEM  SET  AQ_TM_PROCESSES=0;

       SQL>alter database open;  

       SQL>ALTER DATABASE CHARACTER SET utf8;

       ALTER DATABASE CHARACTER SET ZHS16GBK  ERROR at line 1:

       ORA-12712: new character set must be a superset of old character set

     SQL>ALTER DATABASE character set INTERNAL_USE utf8;  

    SQL>select * from v$nls_parameters;  

    
    
    
    

    运行sqlplus 用户登录时的异常:

    无法定位程序输入点longjmp于动态链接库orauts.dll上

    解决办法:

    将 F:appAdministratorproduct11.2.0dbhome_1BIN 放到最前面就行了

    例如:
    F:appAdministratorproduct11.2.0dbhome_1BIN;F:oracleproduct10.2.0client_1BIN;%java_home%in;%java_home%jrein;F:mysqlmysqlservein;%CommonProgramFiles%Microsoft SharedWindows Live;C:Program Files (x86)InteliCLS Client;C:Program FilesInteliCLS ;%SystemRoot%system32;%SystemRoot%;%SystemRoot%system32wbem

  • 相关阅读:
    ceph 高可用部署
    ceph安装
    openstack 命令
    ceph
    go test 怎么做测试
    govendor
    wrap 缓存。。。
    python中if __name__ == '__main__': 的解析
    pythton 字典的使用,字典的方法
    python 基础 如何让程序接收参数,最简单用sys.argv[]来获取
  • 原文地址:https://www.cnblogs.com/jeryM/p/6815523.html
Copyright © 2020-2023  润新知