Re: Objects and Relations

From: Bob Badour <bbadour_at_pei.sympatico.ca>
Date: Tue, 30 Jan 2007 13:00:15 GMT
Message-ID: <zjHvh.6931$1x.121081_at_ursa-nb00s0.nbnet.nb.ca>


Marshall wrote:
> On Jan 29, 9:41 pm, "David BL" <davi..._at_iinet.net.au> wrote:
>

>>On Jan 30, 2:01 pm, Gene Wirchenko <g..._at_ocis.net> wrote:
>>
>>
>>>"David BL" <davi..._at_iinet.net.au> wrote:
>>

> Relationally:
>
> select min(S1.index) from S S1 where
> (select min(S2.c = str.c) from S S2, str
> where S2.index+S1.index = str.index) and
> S1.index >= fromIndex
>
> "Select the smallest S.index where
> every character in S' offset by S.index equals
> every character in str,
> that is greater than or equal to fromIndex"
>

Should that be "S2.index-S1.index = str.index" ?

                         ^
------------------------/
Received on Tue Jan 30 2007 - 14:00:15 CET

Original text of this message