LIKE with spaces - Mailing list pgsql-general

From JB
Subject LIKE with spaces
Date
Msg-id 38F29E9E.50B0C0A8@kw.igs.net
Whole thread Raw
Responses Re: LIKE with spaces  (Peter Eisentraut <e99re41@DoCS.UU.SE>)
List pgsql-general
I'm using a query ... WHERE streetname LIKE 'ST DAV%' but, of course it
doesn't work. LIKE 'ST%' does work however, so I assume the space is
causing some grief to the query parser. Ver 6.5.2 on RH linux. Can
anyone tell why this doesn't work, and more importantly, if there is a
way to make it work?

*sigh*
jb

pgsql-general by date:

Previous
From: Ed Loehr
Date:
Subject: Re: How big a database will PostgreSQL support?
Next
From: Kwan Lai Sum
Date:
Subject: postgres 6.5.2 user problem