Re: %%How to <efficiently> do: SELECT MAX(Date)...WHERE Date < myParamDate
From: Keith Boulton <boulke_at_globalnet.co.uk>
Date: 1997/11/09
Message-ID: <346605e8.27173563_at_read.news.global.net.uk>#1/1
Date: 1997/11/09
Message-ID: <346605e8.27173563_at_read.news.global.net.uk>#1/1
On Mon, 13 Oct 1997 00:47:15 -0400, "Sid Soni" <soni_at_spam.mindspring.com> wrote:
create index fred on rating_tbl( rdate );
select /*+ index_desc( rating_tbl fred ) */
rating from rating_tbl
where rdate < to_date('2/15/97','MM-DD-YYYY')
and rownum = 1;
although I have to say this is in my opinion a very dubious method. Received on Sun Nov 09 1997 - 00:00:00 CET