Easy Date Searching Question

From: Mr. Matteo diTommaso <ditommm_at_aa.wl.com>
Date: 27 Aug 93 08:31:27 -0500
Message-ID: <1993Aug27.083127.1_at_aa.wl.com>


ORACLE and Date Searching. What is the best way to search in SQL ignoring the time portion of the date.

Example:

Table Emp:
Ename char(100)
InDate date

Find all employees added 12/23/92 (any time of day).

select Ename
 from Emp
where InDate = '23-DEC-92';

Will fail?

Thanks.

-- 

| Matteo diTommaso (ditommm_at_aa.wl.com) | /| |
| Ann Arbor, MI, USA | \'o.O' This space for rent. |
| Phone: (313) 996-7148 | =(___)= |
| (Full disclaimer available by e-mail) | U ACK! THPTPHH! |
Received on Fri Aug 27 1993 - 15:31:27 CEST

Original text of this message