LIKE with spaces

From: JB <jimbag(at)kw(dot)igs(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: LIKE with spaces
Date: 2000-04-11 03:40:14
Message-ID: 38F29E9E.50B0C0A8@kw.igs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kwan Lai Sum 2000-04-11 04:45:41 postgres 6.5.2 user problem
Previous Message Robert Nosko 2000-04-11 02:39:34 How to do this in postgtreSQL?