Subject | Re: LIKE WILDCARD ESCAPING |
---|---|
Author | jemrayfield2002 |
Post date | 2002-08-22T13:29:06Z |
Thanks alot thats Great!!!
--- In ib-support@y..., "Arno Brinkman" <firebird@a...> wrote:
> Hi,
>
> > I am trying to search for the underscore char
> > within a LIKE condition.
> >
> > However as underscore is a wildcard I am having
> > problems.
> >
> > I want to escape the _ underscore something
> > similar to
> >
> > LIKE '/_%'
> >
> > where / is the escape char.
> >
> > Does anyone know who this is done?
>
> SELECT
> *
> FROM
> TableA
> WHERE
> FieldA LIKE '/_%' ESCAPE '/'
>
> You written almost the solution ;-)
>
> Regards,
> Arno