DBMS_SCHEDULER.CLOSE_WINDOW DOES NOT WORK FINE (Doc ID 1387005.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.2 to 11.2.0.2 [Release 11.2]
Information in this document applies to any platform.
DBMS_SCHEDULER.CLOSE_WINDOW DOES NOT WORK FINE


Symptoms

Although DBMS_SCHEDULER.CLOSE_WINDOW succeeded , SUNDAY_WINDOW keep active.


SQL> EXECUTE DBMS_SCHEDULER.CLOSE_WINDOW ('SUNDAY_WINDOW');
PL/SQL procedure successfully completed.

SQL> select window_name,active from DBA_SCHEDULER_WINDOWS;

WINDOW_NAME ACTIV
------------------------------ -----
MONDAY_WINDOW FALSE
TUESDAY_WINDOW FALSE
WEDNESDAY_WINDOW FALSE
THURSDAY_WINDOW FALSE
FRIDAY_WINDOW FALSE
SATURDAY_WINDOW FALSE
SUNDAY_WINDOW TRUE
WEEKNIGHT_WINDOW FALSE
WEEKEND_WINDOW FALSE

9 rows selected.

Cause

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