Look at the ROWS column when doing an EXPLAIN before your select statement. I believe the speed comes from matching the index(es) and not necessarily from the LIMIT. I may be (very) wrong though. <g>
Nothing is going to be as fast as a SEEK, but I sure like the features of a SQL Server. I'm very pleased with the performance of the VFP to MySQL system I'm developing. If I'm careful (continuous testing!), the app with scale very well. -Kevin CULLY Technologies, LLC Sponsor of FoxForward 2007 foxforward.net MB Software Solutions wrote: > Kevin Cully wrote: >> I would think that it would be faster doing one SPT to MySQL than to do >> multiple hits. I'm trying to remember but I believe that the LIMIT is >> done last, after the select so it really isn't a performance booster >> that you might think. >> > Wow...I'll have to research that one, as that amazes me. Guess there > really isn't anything else as good as VFP's SEEK command, is there? (I > had thought the LIMIT 1 clause would basically act the same!) > > > _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/%(messageid)s ** 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.

