The WHAT stored procedure is used to modify the functionality of an existing job.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Syntax
DBMS_JOB.WHAT (
job IN BINARY_INTEGER,
what IN VARCHAR2);
Parameters
| Parameter | Description |
|---|---|
| job | The unique ID of the job to be modified. To find this ID, query the JOB column of the USER_JOBS or DBA_JOBS view. |
| what | The PL stored procedure to be executed. |
Considerations
Before submission, the job will not be processed by the background job queue.
The valid values for the
whatparameter (assuming the stored procedure already exists) are as follows:'myplproc(''12-FEB-21'', next_date, broken);''dbms_job.remove(job);'
