Subject | Re: Problem with LIKE |
---|---|
Author | Adam |
Post date | 2005-09-29T23:12:45Z |
--- In firebird-support@yahoogroups.com, "tdtappe" <tappe@t...> wrote:
I do not have this problem with 1.5.2
select *
from employee
where FirstName like '~%'
returns 1 record after the appropriate manipulations to the data. My
table does not use a character set (at least there is none defined by
me), so I can't rule that out.
But make sure the transaction that sets the column name to start with
the ~ is committed.
Adam
> Does it make sense that I get a result if I sayHello Heiko
>
> WHERE Column LIKE '%'
>
> but I do not get a result if I say
>
> WHERE Column LIKE '~%'
>
> although there a records in the table with values in Column like
> "~one" or "~two".
>
> The same problem arises with "#" instead of "~".
>
> Could it be some character set problem?
>
> I use FB 1.5.2
>
> --Heiko
I do not have this problem with 1.5.2
select *
from employee
where FirstName like '~%'
returns 1 record after the appropriate manipulations to the data. My
table does not use a character set (at least there is none defined by
me), so I can't rule that out.
But make sure the transaction that sets the column name to start with
the ~ is committed.
Adam