---
title: "修改Oracle 10g XE的字符集"
author: "reallyafei"
date: "2010-08-13T13:43:24Z"
tags: []
categories: ["数据库"]
slug: "oracle-10g-xe"
draft: false
lastmod: "2010-08-13T13:43:24Z"
id: 736614
url: "https://reallyafei.iteye.com/blog/736614"
---

在安装完[Oracle](http://www.mscto.com/oracle) XE后，可以在sqlplus(即[Oracle](http://www.mscto.com/oracle) XE的运行 SQL 命令行)中， 进行如下的操作来修改字符集：

```
connect system/oracle9i as sysdba 

shutdown immediate 

startup mount 

alter system enable restricted session ; 

alter system set JOB_QUEUE_PROCESSES=0; 

alter system set AQ_TM_PROCESSES=0; 

alter database open ; 

alter database character set internal_use ZHS16GBK ; 

shutdown immediate 

startup 
```

 这样字符集的修改就完成了^\_^