Obsidian/Recognition/Work Related/1.업무메모/2022.04/2022-04-08.md

19 lines
481 B
Markdown
Raw Normal View History

2023-08-14 16:19:25 +00:00
SELECT
COUNT(*)
FROM
TB_PASSIVLC_REQUST
WHERE
SLOT_NO = 146
AND
REQUST_AT = 1
AND
(to_date('2022-03-13 09:44:58', 'yyyy-mm-dd HH24:mi:ss') + INTERVAL '9' HOUR) < (INSERT_DT - INTERVAL '60' MINUTE)
사용안하는 모뎀으로 메시지 보내는 경우
SELECT *
FROM TB_PASSIVLC_REQUST
WHERE (FAILR_MODEM_LIST LIKE '%MD_04%' OR FAILR_MODEM_LIST LIKE '%MD_05%' OR FAILR_MODEM_LIST LIKE '%MD_06%')
AND to_char(INSERT_DT, 'yyyymmdd') LIKE '202202%'