| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Efficient date range search?
Jonathan Leffler wrote:
> Then the criterion for 'alive at time 2001-07-04 19:30:00' is:
>
> WHERE born <= TIMESTAMP '2001-07-04 19:30:00'
> AND died >= TIMESTAMP '2001-07-04 19:30:00'
why not
TIMESTAMP '2001-07-04 19:30:00' BETWEEN born AND died
Dieter Received on Tue Oct 08 2002 - 01:44:25 CDT
![]() |
![]() |