Re: using result as part of regular expression

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: larry a price <laprice(at)efn(dot)org>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: using result as part of regular expression
Date: 2001-04-12 20:40:28
Message-ID: Pine.LNX.4.30.0104122239560.1148-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

larry a price writes:

> SELECT table1.name,table2.web,table2.email
> WHERE table1.name LIKE upper(table2.name).'%';
> ^^^^^^ trying for
> 'content%'

|| is the operator for string concatenation.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message wsmuir 2001-04-12 22:13:37 Locks in functions
Previous Message larry a price 2001-04-12 19:53:28 using result as part of regular expression