6AM TO 6AM
(mmt.transaction_date) BETWEEN TO_DATE (
TO_CHAR (
:P_From_date,
'fmdd/mon/yyyy'
)
|| ' '
|| '06:00:00',
'fmdd/mm/yyyy hh24:mi:ss'
)
AND TO_DATE (
TO_CHAR (
:P_TO_DATE
+ 1,
'fmdd/mm/yyyy'
)
|| ' '
|| '05:59:59',
'fmdd/mm/yyyy hh24:mi:ss'
)
12AM TO 12AM
(mmt.transaction_date) BETWEEN TO_DATE (
TO_CHAR (
:P_From_date,
'fmdd/mon/yyyy'
)
|| ' '
|| '12:00:00',
'fmdd/mm/yyyy hh24:mi:ss'
)
AND TO_DATE (
TO_CHAR (
:P_TO_DATE
+ 1,
'fmdd/mm/yyyy'
)
|| ' '
|| '23:59:59',
'fmdd/mm/yyyy hh24:mi:ss'
)
(mmt.transaction_date) BETWEEN TO_DATE (
TO_CHAR (
:P_From_date,
'fmdd/mon/yyyy'
)
|| ' '
|| '06:00:00',
'fmdd/mm/yyyy hh24:mi:ss'
)
AND TO_DATE (
TO_CHAR (
:P_TO_DATE
+ 1,
'fmdd/mm/yyyy'
)
|| ' '
|| '05:59:59',
'fmdd/mm/yyyy hh24:mi:ss'
)
12AM TO 12AM
(mmt.transaction_date) BETWEEN TO_DATE (
TO_CHAR (
:P_From_date,
'fmdd/mon/yyyy'
)
|| ' '
|| '12:00:00',
'fmdd/mm/yyyy hh24:mi:ss'
)
AND TO_DATE (
TO_CHAR (
:P_TO_DATE
+ 1,
'fmdd/mm/yyyy'
)
|| ' '
|| '23:59:59',
'fmdd/mm/yyyy hh24:mi:ss'
)
No comments:
Post a Comment