Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT ID, TRUNC(CAST(START_DATE AS DATE), 'DD')+LEVEL - 1 AS DAY
- FROM EOM_RUN_RECORDS
- CONNECT BY LEVEL <=TRUNC(CAST(END_DATE AS DATE) ,'DD')-TRUNC(CAST(START_DATE AS DATE) ,'DD')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement