| Subject | Re: [firebird-support] Strange SIMILAR TO result | 
|---|---|
| Author | Gabor Boros | 
| Post date | 2018-05-07T14:57:20Z | 
2018. 05. 07. 14:46 keltezéssel, Dimitry Sibiryakov sd@... 
[firebird-support] írta:
Gabor
            [firebird-support] írta:
> 07.05.2018 13:57, Gabor Boros mlnglsts@... [firebird-support] wrote:Ok. Thank you very much for your help!
>> So I see what you say. But result of
>>
>> SELECT CAST(''='' AS CHAR(5)) SIMILAR TO '[A-Z]{2}[0-9A-Z]{2,13}' FROM
>> RDB$DATABASE;
>>
>> is
>>
>> =======
>> <false>
>
> Perhaps, it must be CHAR(4) or VARCHAR. I'm not sure in type of implicit cast result.
Gabor