若想要知道在某段時間內, 有哪些 Alert 會執行,
可以參考下面的語法 :
語法
-- 如 AM 6:00 ~ AM 8:00 執行的 Alert
select ALERT_NAME
, ALERT_CONDITION_TYPE "TYPE"
, round( CHECK_START_TIME / 3600, 2 ) "START_TIME (H)"
, round( SECONDS_BETWEEN_CHECKS / 60, 2 ) "BETWEEN (M)"
, round( CHECK_END_TIME / 3600, 2 ) "END_TIME (H)"
from ALR_ALERTS
where ENABLED_FLAG = 'Y'
and (CHECK_START_TIME / 3600) >= 6
and (CHECK_START_TIME / 3600) <= 8
;