ILIKE Problem?

From: "Corey W(dot) Gibbs" <cgibbs(at)westmarkproducts(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: ILIKE Problem?
Date: 2003-05-22 20:49:19
Message-ID: 01C32068.F1C011D0.cgibbs@westmarkproducts.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Good Afternoon Everyone,

I was wondering if I am running into a problem with ILIKE. Here is what happened:

When trying to execute this select statement:
SELECT * from elevlist WHERE fulldwgpath ILIKE '\\\\cad_svr\\someDirectory-name-thatis-long\\somefile.dwg'
0 rows are returned, but if I shorten it to:
SELECT * from elevlist WHERE fulldwgpath ='%somefile.dwg%'
my rows are returned. fulldwgpath is a varchar(250) datatype.

Any ideas?
thanks in advance
corey

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mark Wilson 2003-05-22 20:50:37 Re: PRIMARY KEYS
Previous Message Ernest E Vogelsinger 2003-05-22 20:41:22 Q: Structured index - which one runs faster?