Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: A really strange problem
try using
select * from casetext where trunc(createdate) = '13-JUN-02';
the trunc will set the hours:minutes:seconds to 00:00:00.
Ilya Shambat (ishambat_at_aol.com) wrote:
: This is my SQL*Plus output
: SQL> select createdate from casetext
: 2 where textid like '44342%';
: CREATEDAT
: ---------
: 13-JUN-02
: 13-JUN-02
: 13-JUN-02
: 13-JUN-02
: 13-JUN-02
: 13-JUN-02
: 13-JUN-02
: 13-JUN-02
: 8 rows selected.
: SQL> select * from casetext
: 2 where createdate = '13-JUN-02';
: no rows selected
: How can this be?
Received on Thu Jun 13 2002 - 16:10:48 CDT