How to get yesterday's date
637632Oct 1 2008 — edited Oct 1 2008Hi,
I use TO_CHAR(SYSDATE,'YYYYMMDD') - 1 to get yesterday's date.
But this logic seems to fail when run on the 1st day of the month (ex: 20081001).
How can I get yesterday's date?
Thanks,
Raja