Subject | Re: [firebird-support] Sets in like operator |
---|---|
Author | Milan Babuskov |
Post date | 2007-02-02T04:37:22Z |
marc_guillot wrote:
out-of-the-box. Perhaps there is some UDF library that has such function
(regex_match or similar), but I don't know of it.
where substrlen(name 1, 1) in ('a', 'b', 'c', 'd', 'e', 'f')
OR
where name between 'a' and 'fzzzzzzzzzz'
--
Milan Babuskov
http://www.guacosoft.com
http://www.flamerobin.org
> Something like : (costumers starting whth a, b, c, d or f)That's a regular expression. It is not supported by Firebird
>
> select * from costumer where name like '[a-f]%'
out-of-the-box. Perhaps there is some UDF library that has such function
(regex_match or similar), but I don't know of it.
> (I know I can build a query with some clauses separated with or, but IPerhaps:
> will prefer to not have to generate dinamic querys).
where substrlen(name 1, 1) in ('a', 'b', 'c', 'd', 'e', 'f')
OR
where name between 'a' and 'fzzzzzzzzzz'
--
Milan Babuskov
http://www.guacosoft.com
http://www.flamerobin.org