Oracle Express修改字符集,升级到APEX

12/8/2009来源:Oracle教程人气:6446

我装配的是windows停的欧洲语言版,国际语言版的大了60M便没要

因为刚装好,默许数据库的字符集是AL32UTF八

公司用的字符集是ZHS16GBK,于是乎用下部步骤改了字符集

Sql代码

sqlplus sys_name/sys_passWord as sysdba

shutdown immediate;

startup mount

alter system enable restricted session;

alter system set JOB_QUEUE_PROCESSES=零;

alter system set AQ_TM_PROCESSES=零;

alter database open;

alter database character set internal_use ZHS16GBK;

shutdown immediate

startup

sqlplus sys_name/sys_password as sysdba

shutdown immediate;

startup mount

alter system enable restricted session;

alter system set JOB_QUEUE_PROCESSES=零;

alter system set AQ_TM_PROCESSES=零;

alter database open;

alter database character set internal_use ZHS16GBK;

shutdown immediate

startup

字符集是改好了,结果发现捎带的APEX不能运作了

既是不能用就决议经过升格一下子APEX来解决

APEX下载页面

在网上找了点货色,写了个脚本(基于apex_3.2.1.zip),只要把它放在你解压的APEX索引里边,运作按提醒操作

查看是不是装配顺利:

Sql代码

select status from dba_registry where comp_id='APEX';

select status from dba_registry where comp_id='APEX';惟独结果为“VALID”才示意装配顺利

查看APEX端口

Sql代码

select DBMS_XDB.GETHTTPPORT() from dual;

select DBMS_XDB.GETHTTPPORT() from dual;

APEX管理员页面

http://[IP]:[port]/apex/apex_admin

APEX普普通通页面

http://[IP]:[port]/apex