Previous |
Next |
This procedure sets the offset value used during application import. The offset value is used to ensure that the metadata for the Application Express application definition does not collide with other metadata on the instance. For a new application installation, it is usually sufficient to call the generate_offset
procedure to have Application Express generate this offset value for you.
Syntax
APEX_APPLICATION_INSTALL.SET_OFFSET( p_offset IN NUMBER);
Parameters
Table: SET_OFFSET Parameters describes the parameters available in SET_OFFSET
procedure.
SET_OFFSET Parameters
Parameter | Description |
---|---|
|
The offset value. The offset must be a positive integer. In most cases you do not need to specify the offset, and instead, call |
Example
The following example generates a random number from the database and uses this as the offset value in APEX_APPLICATION_INSTALL
.
declare l_offset number; begin l_offset := dbms_random.value(100000000000, 999999999999); apex_application_install.set_offset( p_offset => l_offset ); end/