From: | "tjk(at)tksoft(dot)com" <tjk(at)tksoft(dot)com> |
---|---|
To: | pgsql-sql(at)postgreSQL(dot)org |
Cc: | herouth(at)oumail(dot)openu(dot)ac(dot)il |
Subject: | Re: [SQL] Expr Abbreviations/Functions? |
Date: | 1999-07-26 04:52:42 |
Message-ID: | 199907260452.VAA30904@uno.tksoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)tksoft(dot)com Software Development
Open Source Solutions
Hosting Services
>
> At 02:11 +0300 on 25/07/1999, tjk(at)tksoft(dot)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
>
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Dan Wilson | 1999-07-26 05:16:52 | escaping wildcard chars |
Previous Message | Don Yury | 1999-07-26 04:16:54 | Re: [SQL] database design SQL prob. |