Searching accented words - Mailing list pgsql-general

From João Paulo Batistella
Subject Searching accented words
Date
Msg-id 20020724192010.26238.qmail@web21206.mail.yahoo.com
Whole thread Raw
Responses Re: Searching accented words
Re: Searching accented words
Re: Searching accented words
Re: Searching accented words
List pgsql-general
Hi!

I have, in the same column, accented words and not.
But I don´t want to worry about it.

Imagine the table Person:
CREATE TABLE PERSON (name TEXT)

INSERT INTO PERSON VALUES ('José')
INSERT INTO PERSON VALUES ('Jose')

The following statement
SELECT * FROM PERSON WHERE NAME like 'José'
would return only the first row, because 'José' is an
accented word.

How can I perform a query that return the two rows, no
matter I pass 'José' or 'Jose' as parameter?

Thanks,
JP

_______________________________________________________________________
Yahoo! Encontros
O lugar certo para encontrar a sua alma gêmea.
http://br.encontros.yahoo.com/

pgsql-general by date:

Previous
From: "Markus Wollny"
Date:
Subject: Re: Using FTI-Search (likely a more general runtime-puzzle)
Next
From: "viksa verma"
Date:
Subject: preprosessor help