1.3 KiB
1.3 KiB
단문자
SELECT *
FROM TB_SMS_SND
ORDER by RESVE_DT DESC
UPDATE TB_SMS_SND
SET PROCESS = 0
, process_dt = NULL
, RESVE_DT = SYSDATE
WHERE MSSAGE_ID = '20210110092302541'
이미지
-- image컬럼 확인필수
SELECT *
FROM TB_IMG_SND
--WHERE MSSAGE_ID = '20201231113008328'
ORDER by 1 DESC
UPDATE TB_IMG_SND
SET PROCESS = 0
, process_dt = NULL
WHERE MSSAGE_ID = '20201231113008328'
기상예보
SELECT *
FROM TB_WETHR_SND_M
ORDER by FRCST_DT DESC
-- FORCAST_DT 확인
SELECT *
FROM SMS.FORECAST_TB
ORDER BY 1 desc
UPDATE TB_WETHR_SND_M
SET PROCESS = 0
, process_dt = NULL
, FRCST_DT = TO_date('2022-05-23 00:00:00', 'yyyy-mm-dd hh24:mi:ss')
WHERE MSSAGE_ID = '20210728091616000'
-- TB_WETHR_SND_D row수 확인
SELECT *
FROM TB_WETHR_SND_D
WHERE MSSAGE_ID = '20210728091616000'
태풍정보
SELECT *
FROM TB_TYPHN_SND_M
WHERE PROCESS = 0
ORDER BY NOTI_DT DESC
'20211220220038111'
UPDATE TB_TYPHN_SND_M
SET PROCESS = 0
, process_dt = NULL
, noti_dt = SYSDATE
WHERE MSSAGE_ID = '20211220220038111'
기상특보
SELECT *
FROM TB_SPECIALNEWS
ORDER by TMFC DESC
UPDATE TB_SPECIALNEWS
SET PROCESS = 0
, process_dt = NULL
, TMFC = to_char(SYSDATE, 'YYYYMMDDHH24MI')
WHERE MSSAGE_ID = '20220307061541833'