LIKE upper('%$info%') -- (like google) - Mailing list pgsql-novice

From Patrick Coulombe
Subject LIKE upper('%$info%') -- (like google)
Date
Msg-id 00f901c0e599$0592fd10$05d1ca18@caroline
Whole thread Raw
List pgsql-novice
how can i search my database like a search engine (ie google).

-- $info= patrick coulombe
-- select distinct * from friends where upper(name) LIKE upper('%$info%')

i want postgresql to find :

-- patrick lefevre
-- coulombe caroline
-- patrick coulombe
-- coulombe patrick

you get the idea...
thank you :)
patrick





pgsql-novice by date:

Previous
From: "Seema Noor"
Date:
Subject: time difference
Next
From: Johan Daine
Date:
Subject: Re: LIKE upper('%$info%') -- (like google)