Is it possible to search for sub-strings...

From: John Draper <crunch(at)webcrunchers(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Is it possible to search for sub-strings...
Date: 2000-09-19 09:04:22
Message-ID: v0311071eb5ecdbe9ca68@[24.12.41.181]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ok, I have a question... lets say I have a key fields like this...

JYR-34a
JYR-34b
JYR-34c
JJG-67
jUY-89

I want to do a query on a substring, such that I can get all three
of the JYR's to come up, regardless if it has an "a", "b", or "c"
after it. Is that possible in SQL? If so, what would the query
look like?

John

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John McKown 2000-09-19 10:27:12 Re: Is it possible to search for sub-strings...
Previous Message Andreas Tille 2000-09-19 09:04:05 RE: Re: pgdump