With almost every patch or release upgrade of the Oracle Database a new version of Oracle Application Express (APEX) will be installed. And as APEX is part of the database installation it will be upgraded as part of the component upgrades after the ORACLE SERVER component has been successfully upgraded to the new releases.
But the APEX upgrade can take a bit (several minutes or even more in some cases). Therefore it is a common advice to upgrade APEX upfront before upgrading the database as this can be done online while the database is in production (unless your databases serves just as an APEX application backend – in this case upgrading APEX upfront won’t save you anything).
To upgrade Oracle APEX upfront you’ll have to follow
It explains that you’ll have to:
- Determine the installation type by running this query:
select count(*) from <SCHEMA>.WWV_FLOWS where id = 4000;
whereas <SCHEMA> can be one of the following:
If the query returns 0 then you’ll need to run apxrtins.sql
If the query returns 1 then you’ll need to execute apexins.sql
- Download the newest APEX package and install it.