[英]How to delete schedule jobs through Enterprise Manager oracle
我正在使用oracle數據庫11g。 我通過企業管理器創建了2個備份計划作業。 現在,當我刪除作業時,出現以下錯誤
The specified job, job run or execution is still active. It must finish running, or be stopped before it can be deleted. Filter on status 'Active' to see active executions.
如何刪除工作?
要強制刪除作業(即使正在運行),請使用以下代碼:
dbms_scheduler.drop_job (<job_name>, force => true);
要在完成當前執行工作后刪除該作業,請使用以下代碼:
dbms_scheduler.drop_job (<job_name>, defer => true);
干杯!!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.