Darren Duncan wrote:
> Igor Tandetnik wrote:
>> Kristoffer Danielsson
>> wrote:
>>> When I create my own "stored procedures" using
>>> sqlite3_create_function, I get horrible performance (which I
>>> expected) even though the column of interest is INDEXED.
>>>
>>>
Igor Tandetnik wrote:
> Kristoffer Danielsson wrote:
>> When I create my own "stored procedures" using
>> sqlite3_create_function, I get horrible performance (which I
>> expected) even though the column of interest is INDEXED.
>>
>> Consider this sample (it's
On Mon, 5 Oct 2009 18:01:46 +0200, Kristoffer Danielsson
wrote:
> This makes sense. Though, I think the
> documentation should cover this.
Much of this is implicitly or explicitly covered in
http://www.sqlite.org/optoverview.html .
And what Scott Hess said.
--
mail.com
>> Date: Mon, 5 Oct 2009 09:31:10 -0400
>> To: sqlite-users@sqlite.org
>> Subject: Re: [sqlite] "Stored procedures" performance issue
>>
>> > IS_MY_BIRTHDAY returns 1 when the date is my birthday. Now, inside this
>> > function, if
This makes sense. Though, I think the documentation should cover this.
Thanks for your response.
> From: paiva...@gmail.com
> Date: Mon, 5 Oct 2009 09:31:10 -0400
> To: sqlite-users@sqlite.org
> Subject: Re: [sqlite] "Stored procedures" performance issue
>
> >
> IS_MY_BIRTHDAY returns 1 when the date is my birthday. Now, inside this
> function, if I encounter a date greater than my birthday, then I want to tell
> SQLite to stop searching, since the date is indexed.
>
> Is this possible? If so, how?
Even if this was possible it would be useless
When I create my own "stored procedures" using sqlite3_create_function, I get
horrible performance (which I expected) even though the column of interest is
INDEXED.
Consider this sample (it's stupid, but it shows my problem):
SELECT * FROM MyTable WHERE IS_MY_BIRTHDAY(IndexedDate);
7 matches
Mail list logo