28.28 SET_PARAMETER Procedure
This procedure sets a parameter used in administering a runtime environment. You must issue a commit for the parameter change to take affect.
Syntax
APEX_INSTANCE_ADMIN.SET_PARAMETER(
p_parameter IN VARCHAR2,
p_value IN VARCHAR2 DEFAULT 'N');Parameters
Table 28-20 SET_PARAMETER Parameters
| Parameter | Description |
|---|---|
p_parameter |
The instance parameter to be set. |
p_value |
The value of the parameter. |
Example
The following example demonstrates how to use the SET_PARAMETER procedure to set the SMTP_HOST_ADDRESS parameter for an Oracle APEX instance.
BEGIN
APEX_INSTANCE_ADMIN.SET_PARAMETER('SMTP_HOST_ADDRESS', 'mail.example.com');
COMMIT;
END;Parent topic: APEX_INSTANCE_ADMIN