SQL Query

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

select count(*) COUNT, status from SAPSR3DB.

bc_msg where SENT_RECV_TIME < '01-JAN-


17' group by status;

UPDATE SAPSR3DB.BC_MSG SET STATUS = 'FAIL' WHERE STATUS in (' NDLV') and
SENT_RECV_TIME < ' 01-Jan-2017' ;

DELETE from SAPSR3DB.BC_MSG where STATUS = 'FAIL' and SENT_RECV_TIME < ' 01-Jan-
2017';

You might also like