Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Problem comparing dates (SQLPLUS)
Sam Jordan wrote in message <38633FAE.82771B50_at_spin.ch>...
>
>I would like to list all entries where the month of the column
>'finishdate' is
>less than the month of 'sysdate', but the statement returns also entries
>where those months are equal. Why does this happen?
>
Does last_day leave the time element of the date intact. If your first date
had the time stripped off when written to the database that would explain
the results.
Received on Fri Dec 24 1999 - 15:20:31 CST