| From: | The Hermit Hacker <scrappy(at)hub(dot)org> |
|---|---|
| To: | Joao Paulo Felix <felix(at)cyclades(dot)com> |
| Cc: | "pgsql-general(at)postgreSQL(dot)org" <pgsql-general(at)postgreSQL(dot)org> |
| Subject: | Re: [GENERAL] LIKE (SQL operator) |
| Date: | 1998-06-30 02:29:19 |
| Message-ID: | Pine.BSF.3.96.980629232810.6863O-100000@thelab.hub.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Mon, 29 Jun 1998, Joao Paulo Felix wrote:
> Hello there,
>
> I have a table called "products" which has a field named "item" with
> following data stored:
>
> "item"
> PR1000
> PR2000
> PR3000
> PRZE10
> Lze100
> Beta
> Teta
>
> Does PostgreSQL support the SQL operator "LIKE" . I have unsuccessfully
> trying the following SQL query:
>
> (SELECT * FROM products WHERE item LIKE '*PR*')
SELECT * FROM products WHERE item LIKE '%PR%'
Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rob den Boer | 1998-06-30 11:16:38 | RE: [GENERAL] Updating multiple fields |
| Previous Message | Joao Paulo Felix | 1998-06-30 02:10:57 | LIKE (SQL operator) |