Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT
SELECT b.custno, b.stockto, TO_CHAR (a.dateholder, 'DY') "DAYNAME", TO_CHAR (a.dateholder, 'IYYY') || TO_CHAR (a.dateholder, 'IW') "WEEKNO", a.dateholder "RAD", 0 "TDY_LOAD_CNT", NVL (TO_NUMBER (c.avail), 0) "TDY_CAP", DECODE (TRUNC (a.dateholder), TRUNC (SYSDATE), jms_ess_scp_ib_cap_prior (b.custno), NULL) "PRIOR_LOAD_CNT" FROM ( SELECT TRUNC (SYSDATE) - 1 + LEVEL AS dateholder FROM DUAL CONNECT BY LEVEL <= 180) a, ( SELECT DISTINCT custno, stockto, MAX (rad) "LAST_RAD" FROM xxx_ess_scp_ib_cap_order GROUP BY custno, stockto) b, (SELECT cal, (eff / 1440 + TO_DATE ('01011970', 'MMDDYYYY')) "EFFDATE", avail FROM caldata) c WHERE a.dateholder <= b.last_rad AND a.dateholder = NVL (c.effdate, a.dateholder) AND (b.custno || '-INCAP') = c.cal(+) ORDER BY rad;
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.