0
点赞
收藏
分享

微信扫一扫

修改Oracle数据库字符集为AL32UTF8

律楷粑粑 2022-04-23 阅读 62
Oracle

打开SQL plus
在这里插入图片描述

SQL*Plus: Release 11.2.0.1.0 Production on 星期六 4月 23 11:26:37 2022

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

请输入用户名:  sqlplus / as sysdba
输入口令:

连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> shutdown immediate
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup mount
ORACLE 例程已经启动。

Total System Global Area 1.3629E+10 bytes
Fixed Size                  2188688 bytes
Variable Size            6878661232 bytes
Database Buffers         6710886400 bytes
Redo Buffers               37343232 bytes
数据库装载完毕。
SQL> alter system enable restricted session
  2  ;

系统已更改。

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 internal_use AL32UTF8;

数据库已更改。

SQL> shutdown immediate
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup;
ORACLE 例程已经启动。

Total System Global Area 1.3629E+10 bytes
Fixed Size                  2188688 bytes
Variable Size            6878661232 bytes
Database Buffers         6710886400 bytes
Redo Buffers               37343232 bytes
数据库装载完毕。
数据库已经打开。
SQL> select userenv('language') from dual;

USERENV('LANGUAGE')
--------------------------------------------------------------------------------
SIMPLIFIED CHINESE_CHINA.AL32UTF8

SQL>
举报

相关推荐

0 条评论