Subject | Re: [firebird-support] Re: Issues in string indexing |
---|---|
Author | Ivan Prenosil |
Post date | 2006-02-15T18:45:15Z |
> Thanks for replying and informing about character set octets. I haveWhat exactly are you trying to achieve ? You want unique constraint
> tried using this also but its not working for me.
which treats 'abc' and 'abc ' as different strings ? It works if you use
character set octets. What do you mean by "not working for me"?
>Why do you think you can't use index?
> I am using firebird 1.5.1
>
> I guess only thing which i can do is to not index string in my table
> and use LIKE.
Ivan
>
> Thanks!
> Regards,
>
> Dipesh
>
> --- In firebird-support@yahoogroups.com, "Ann W. Harrison"
> <aharrison@...> wrote:
>
>> The SQL standard specifies that trailing blanks in string fields
>> are not significant in equality matches and the index uses equality
>> matches. LIKE follows different rules. If you want to differentiate
>> between "abc" and "abc ", define the field as character set octets.
>>
>>
>>
>> Regards,
>>
>>
>> Ann