Date BETWEEN TRUNC
(TO_DATE
( '01'
|| '-'
|| 'APR'
|| '-'
|| TRUNC
(TO_NUMBER
(TO_CHAR
(t_date,
'YYYY'
)
)
)
),
'dd'
)
+ (6 / 24) --to_date (01, 'dd') + (6 / 24)
AND TRUNC (t_date, 'dd') + (6 / 24) + 1
(TO_DATE
( '01'
|| '-'
|| 'APR'
|| '-'
|| TRUNC
(TO_NUMBER
(TO_CHAR
(t_date,
'YYYY'
)
)
)
),
'dd'
)
+ (6 / 24) --to_date (01, 'dd') + (6 / 24)
AND TRUNC (t_date, 'dd') + (6 / 24) + 1
No comments:
Post a Comment