today:
56
yesterday:
179
Total:
1,001,152

SQL How to Update Oracle XE

admin 2018.04.25 21:01 Views : 138

How to Update Oracle XE Version 2 to APEX Version 4

If you have installed Oracle XE Version 2 (msi file: OracleXE.exe) then you can upgrade to the latest Oracle Apex version using the steps below.

Download and unzip the latest Apex kit from Oracle.com.

In the steps below substitute the word password with your actual XE system password.

When logging into Application Express Version 4 in Oracle Database XE, you will be presented with a login page that prompts for Workspace, Username and Password. The Workspace name is the same as the database username used to login to Oracle Database XE (except for the Admin user - see Login details below).


You should have a directory structure similar to this:
c:\oraclexe\apex (this is the unzipped Version 4 kit) 
c:\oraclexe\app (this is created by the Oracle XE installation) 
c:\oraclexe\oradata (this is created by the Oracle XE installation)

Step 1
Open DOS CMD window and change default to the directory of the unzipped Apex kit.
e.g.
CMD> cd c:\oraclexe\apex  ---- apex가 있는 위치 unzip파일 위치

Step 2 - Upgrade to Version 4 
CMD> sqlplus system/password as sysdba
SQL> @apexins.sql SYSAUX SYSAUX TEMP /i/

@apexins.sql APEX APEX TEMP /i/


Step 3 - Set images directory 
CMD> sqlplus system/password as sysdba
SQL> @apxldimg.sql c:\oraclexe

Step 4 - Set Admin password 
SQL> @apxchpwd.sql password

Step 5 - Enable remote http connections
SQL> exec dbms_xdb.setListenerLocalAccess (l_access => FALSE);

Login
URL: http://127.0.0.1:8080/apex 
Workspace: Internal 
Username: Admin 
Password: password


--------------------------------------------------------------------------
@apexins.sql APEX APEX TEMP /i/

C:\Users\solat\Downloads\apex_20.2/apex
ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK
ALTER USER APEX_PUBLIC_USER IDENTIFIED BY Joseph0323

@apex_rest_config.sql
No. Subject Author Date Views
126 YEAR EXPRESSIONS admin 2023.05.25 34
125 TEST admin 2023.05.03 36
124 INNER JOIN admin 2023.05.19 37
123 Monthly SUM admin 2023.05.22 37
122 ORACLE COLLECTION admin 2023.05.08 38
121 DATE -> DAY CONVERT SQL admin 2023.05.25 38
120 GRAPH (BAR) SQL SAMPLE admin 2023.05.25 39
119 TEST admin 2023.04.28 40
118 GitHub.com/Oracle/APEX. admin 2023.05.04 40
117 Global pages admin 2023.05.09 40
116 FINAL TEST admin 2023.05.08 44
115 LOOP TABLE UPDATE admin 2023.05.19 50
114 GP 영수증 (3) -01/04/2023 admin 2023.01.04 53
113 WHDR email address admin 2023.04.13 55
112 CHANGE TABLE NAME admin 2023.05.31 58
111 GP 영수증 본문 admin 2022.11.07 61
110 GP - 영수증 (2) admin 2022.11.07 63
109 Building Mobile Applications with Oracle Application Express 5.0 admin 2017.11.25 64
108 ipconfig admin 2023.06.03 67
107 Manufacturing resource planning (MRP II) admin 2018.02.14 78