Re: ROWNUM. can anybody clarify this to me.

From: S. Kannan <skannan_at_cardinal.fs.com>
Date: 1995/09/06
Message-ID: <42ki05$t7l_at_cardinal.fs.com>#1/1


Lawrence James (james.lawrence_at_epamail.epa.gov) wrote:   Hi Lawrence,

  I think you are right. There has been a change in O7.1 in the EXPLAIN PLAN   statement. There is now an option called STOPKEY to the COUNT operation.   It is documented that the STOPKEY option is a count operation where the   number of rows returned is limited by the ROWNUM expression in the WHERE   clause. It, however, does not mention if a full table scan is avoided or   not. But I timed a query containing a ROWNUM in the WHERE clause and found   it to be significantly lesser to infer your conclusion. Thanks for pointing   this to me.
: >Hope this answers your question.
 

: >--
: >---------------------------------------------------------------------------
: >Kannan
: >Email: skannan_at_fs.com
: >Mastech Systems Corporation
 

: >The above are my own comments and opinion. They do not purport that of
: >anybody else.
: >---------------------------------------------------------------------------

--
---------------------------------------------------------------------------
Kannan 
Email: skannan_at_fs.com
Mastech Systems Corporation

The above are my own comments and opinion. They do not purport that of 
anybody else.
       ** Different is Not Better. Better is not Different **
---------------------------------------------------------------------------
Received on Wed Sep 06 1995 - 00:00:00 CEST

Original text of this message