ILIKE Problem? - Mailing list pgsql-general

From Corey W. Gibbs
Subject ILIKE Problem?
Date
Msg-id 01C32068.F1C011D0.cgibbs@westmarkproducts.com
Whole thread Raw
Responses Re: ILIKE Problem?  (Darren Ferguson <darren@crystalballinc.com>)
List 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



pgsql-general by date:

Previous
From: Mark Wilson
Date:
Subject: Re: PRIMARY KEYS
Next
From: Bruce Momjian
Date:
Subject: Re: ERROR: Memory exhausted in AllocSetAlloc(188)