Re: [SQL] Expr Abbreviations/Functions? - Mailing list pgsql-sql

From tjk@tksoft.com
Subject Re: [SQL] Expr Abbreviations/Functions?
Date
Msg-id 199907260452.VAA30904@uno.tksoft.com
Whole thread Raw
In response to Re: [SQL] Expr Abbreviations/Functions?  (Herouth Maoz <herouth@oumail.openu.ac.il>)
Responses Re: [SQL] Expr Abbreviations/Functions?  (Herouth Maoz <herouth@oumail.openu.ac.il>)
List 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 by date:

Previous
From: Don Yury
Date:
Subject: Re: [SQL] database design SQL prob.
Next
From: Oleg Bartunov
Date:
Subject: Re: [SQL] inserts/updates problem under stressing !