dbms_scheduler.stop_job Change the Session User To SYS
Last updated on JUNE 13, 2017
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 and later
Information in this document applies to any platform.
Selecting user from dual returns SYS sometimes after using dbms_scheduler.stop_job.
However no SYS privileges can be executed.
After calling dbms_scheduler.stop_job('"'||c.job_owner||'"."'||c.job_name||'"');
The session user has changed (test case from SR) to SYS!!
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms