如何查看及修改oracle编码格式方法?
1个回答
展开全部
查看及修改oracle编码格式方法:\x0d\x0a1、查看oracle数据库字符集:\x0d\x0aselect userenv('language') from dual;\x0d\x0a查询结果:\x0d\x0aSIMPLIFIED CHINESE_CHINA.AL32UTF8\x0d\x0a2、修改oracle数据库字符集:(在SQL Plus中)\x0d\x0asql> conn / as sysdba;\x0d\x0a sql> shutdown immediate;\x0d\x0a database closed.\x0d\x0a database dismounted.\x0d\x0a oracle instance shut down.\x0d\x0a sql> startup mount;\x0d\x0a oracle instance started.\x0d\x0a total system global area 135337420 bytes\x0d\x0a fixed size 452044 bytes\x0d\x0a variable size 109051904 bytes\x0d\x0a database buffers 25165824 bytes\x0d\x0a redo buffers 667648 bytes\x0d\x0a database mounted.\x0d\x0a sql> alter system enable restricted session;\x0d\x0a system altered.\x0d\x0a sql> alter system set job_queue_processes=0;\x0d\x0a system altered.\x0d\x0a sql> alter system set aq_tm_processes=0;\x0d\x0a system altered.\x0d\x0a sql> alter database open;\x0d\x0a database altered.\x0d\x0a sql> alter database character set internal_use UTF8\x0d\x0a sql> shutdown immediate;\x0d\x0a sql> startup;
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询