On Tue, 19 May 2009 11:26:31 -0400, Sam Carleton
<scarle...@gmail.com> wrote:

>Marco Bambini wrote:
>> SELECT ... LIMIT 1;
>>   
>Marco,  Is this to say that adding the LIMIT 1 does make it more efficient?

Not necessarily.

Imagine a SELECT with an ORDER BY which makes SQLite sort
the resultset before it can return the first row in the
resultset. Need I say more?

http://www.sqlite.org/cvstrac/wiki?p=ScrollingCursor
-- 
  (  Kees Nuyt
  )
c[_]
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to