Re: RANK+WINDOW NOSORT STOPKEY=> stopkey doesn't work

  • From: Sayan Malakshinov <xt.and.r@xxxxxxxxx>
  • To: Dominic Brooks <dombrooks@xxxxxxxxxxx>
  • Date: Mon, 29 Feb 2016 19:09:09 +0300

dbms_photoshop from our russian noticed that STOPKEY with RANK stops at the
same number of rows as DENSE_RANK, so stopkey works only when number of
unique values becomes more than requested.
Because of that,  in case of duplicate values, WINDOW NOSORT STOPKEY with
RANK will scan always more rows than DENSE_RANK with the same predicates...

-- 
Best regards,
Sayan Malakshinov
http://orasql.org

Other related posts: