Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Resetting highwatermark

Re: Resetting highwatermark

From: Brian Rasmusson <br_at_belle.dk>
Date: 1997/09/22
Message-ID: <3426206F.EA5DC96E@belle.dk>#1/1

> Assuming that the column you are referencing is indexed, the optimizer
> will use it to select min(column) OR max(column), but not both in the
> same statement!
>
> You may find it useful to issue two separate selects, one for the min()
> and one for the max()

Yes, i already do that, but still it is slow when i have had a lot of rows in the table ;-(

Regards
Brian

--
------------------------------------------------------------------------
Brian Rasmusson, Software engineer & analyst     e-mail: brianr_at_belle.dk
Belle Systems A/S                                web   : www.belle.dk
Network, Internet and communication specialists  phone : +45 59442500
------------------------------------------------------------------------
Received on Mon Sep 22 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US