Re: using result as part of regular expression - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: using result as part of regular expression
Date
Msg-id Pine.LNX.4.30.0104122239560.1148-100000@peter.localdomain
Whole thread Raw
In response to using result as part of regular expression  (larry a price <laprice@efn.org>)
List 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@gmx.net       http://yi.org/peter-e/


pgsql-general by date:

Previous
From: larry a price
Date:
Subject: using result as part of regular expression
Next
From: wsmuir@islandnet.com
Date:
Subject: Locks in functions