Edit D:\app\Administrator\product\11.2.0\dbhome_1\apex\apxrelod.sql
Rem Copyright (c) Oracle Corporation 1999 - 2008. All Rights Reserved. Rem Rem NAME Rem apxrelod.sql Rem Rem DESCRIPTION Rem This reload script should be used placed in the Oracle Home that is downgraded to Rem under a directory named apex. Rem Rem NOTES Rem Assumes the SYS user is connected. Rem Rem Rem Rem MODIFIED (MM/DD/YYYY) Rem jstraub 01/03/2008 - Created Rem jstraub 01/03/2008 - Updated owner to FLOWS_030100 Rem jstraub 03/03/2008 - Adapted for downgrades to versions prior to 11.1.0.6 Rem jstraub 03/17/2009 - Added grant to ctx_ddl for downgrade/upgrade reload Rem jstraub 03/19/2009 - Made grant dynamic so it could be run by multiple versions WHENEVER SQLERROR EXIT SQL.SQLCODE ROLLBACK EXECUTE dbms_registry.check_server_instance; WHENEVER SQLERROR CONTINUE -- save session settings store set apxset.sql replace declare l_apex_schema varchar2(30); begin l_apex_schema := dbms_registry.schema('APEX'); execute immediate 'grant execute on ctx_ddl to '||l_apex_schema||' with grant option'; end; / EXECUTE validate_apex; -- Restore session variables @apxset.sql
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de