On Mon, Sep 9, 2013 at 2:52 PM, Jean Haidar <[email protected]> wrote:
> one of  our developer is  experiencing long delays when running this Select 
> Statement
>
> Select  *  from  TableX where reccount() > 600000
>


Yikes! Don't use RECCOUNT() - it is counting through all the records
each and every time...

Try RECNO() instead...


-- 
Matt Jarvis
Eugene, Oregon USA

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAPT54ra+-634QOLaLPJ+9=ONh_WzTC1e7JOmPQN0RQhaM8YC=a...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to