Re: [SQL] Expr Abbreviations/Functions?
| От | tjk@tksoft.com |
|---|---|
| Тема | Re: [SQL] Expr Abbreviations/Functions? |
| Дата | |
| Msg-id | 199907260452.VAA30904@uno.tksoft.com обсуждение исходный текст |
| Ответ на | Re: [SQL] Expr Abbreviations/Functions? (Herouth Maoz <herouth@oumail.openu.ac.il>) |
| Ответы |
Re: [SQL] Expr Abbreviations/Functions?
|
| Список | pgsql-sql |
Herouth,
You're right.
If I recall the original question correctly, the
"only" real solution would seem to be to define
a function to search the appropriate fields.
Troy
Troy Korjuslommi Tksoft OY, Inc.
tjk@tksoft.com Software Development
Open Source Solutions
Hosting Services
>
> At 02:11 +0300 on 25/07/1999, tjk@tksoft.com wrote:
>
>
> > You could merge the fields and search with :
> >
> > select * from tablex where lower(f1||f2||f3) ~ 'foo';
>
> Nah. If f1 is 'Narf' and f2 is 'oodp', it will match...
>
> Herouth
>
> --
> Herouth Maoz, Internet developer.
> Open University of Israel - Telem project
> http://telem.openu.ac.il/~herutma
>
>
>
>
В списке pgsql-sql по дате отправления: