DB version:10gR2
In one of our codes , the client wants the dates to be compared by ignoring the time component from the date.
ie they don't want MM:DD:YYYY HH:MI:SS, they just want MM:DD:YYYY,
So I am modifying
when ship_date > est_date_del
to
when to_char(ship_date, 'YYYYMMDD')> to_char(est_date_del,'YYYYMMDD')
This is fine. Right? Will there be any issues relating to this comparision logic. You guys have any suggestions when comparing dates using to_char function?