Database Utilities (MOSC)

MOSC Banner

DBMS_SCHEDULER giving wrong result in oracle version 19

I have created a job to calculate no of days in my HR application. when run the the job with below code it gives correct value

BEGIN

 DBMS_SCHEDULER.RUN_JOB(

  JOB_NAME      => 'ADJUST_VAC_WITH_HOLIDAYS',

  USE_CURRENT_SESSION => TRUE);

END;

if the below is used it gives wrong value

BEGIN

 DBMS_SCHEDULER.RUN_JOB(

  JOB_NAME      => 'ADJUST_VAC_WITH_HOLIDAYS',

  USE_CURRENT_SESSION => FALSE);

END;

what is the reason for this problem?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center