Dates about sql ORACLE

  • I have the following Oracle sql script, I only need all the records from yesterday.

    and fch_date >= TRUNC(SYSDATE -1) and fch_date < TRUNC(SYSDATE)

    This is another sql oracle statement

    and fch_date BETWEEN TRUNC(SYSDATE - 1) and trunc(sysdate) - internal '1' SECOND

    Is there a better way to have only all the records from yesterday?

    Thanks for your help

  • this isn't a Oracle forum - so you would be better off asking elsewhere dedicated to Oracle.

    but (assuming this ain't spam) the answer is no there isn't a better way.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply