Subject | Re: [ib-support] containing, like, = |
---|---|
Author | Ann W. Harrison |
Post date | 2001-09-07T14:11:20Z |
At 02:28 PM 9/7/2001 +0300, raptor wrote:
unless one defines a collation sequence that defines them to be the same.
Thus any indexed lookup will be case sensitive, unless the column has a
character set that has a non-case-sensitive collation.
One could, I guess build all sorts of twiddly index search algorithms
that looked for NAME NAMe NAmE NaME nAME nAMe ... name, but they suffer
from geometric expansion.
Regards,
Ann
www.ibphoenix.com
We have answers.
>STARTING WITH - sensitiveORno?, uses index, no wildcardsSTARTING WITH, case sensitive, uses index, no wildcards
>LIKE - case sensitive, uses index if "NAME%", no index if "%NAME%", wilcardsright. Indexes in InterBase are exact match and 'a' is not the same as 'A',
>allowed
>CONTAINING - case insensitive, doesn't use index, no wildcards
unless one defines a collation sequence that defines them to be the same.
Thus any indexed lookup will be case sensitive, unless the column has a
character set that has a non-case-sensitive collation.
One could, I guess build all sorts of twiddly index search algorithms
that looked for NAME NAMe NAmE NaME nAME nAMe ... name, but they suffer
from geometric expansion.
Regards,
Ann
www.ibphoenix.com
We have answers.