LIKE (SQL operator)
Joao Paulo Felix <felix@cyclades.com>
From: Joao Paulo Felix <felix@cyclades.com>
To: "pgsql-general@postgreSQL.org" <pgsql-general@postgreSQL.org>
Date: 1998-06-30T02:10:57Z
Lists: pgsql-general
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*') I would like to select all the rows where the field "item" has the substring "PR" inside it. Thanks in advance for any pointers/help' JP -- ________________________________________________________________ Joao Paulo Felix Cyclades Corporation voice: (510) 770-9727 41934 Christy Street fax: (510) 770-0355 Fremont, CA www.cyclades.com ________________________________________________________________