Re: Ignore accents using the LIKE Operator...
From: Narayana Vyas Kondreddi (answer_me_at_hotmail.com)
Date: 08/04/04
- Next message: Tibor Karaszi: "Re: Ignore accents using the LIKE Operator..."
- Previous message: John Kane: "Re: Error on Full-Text"
- In reply to: +The_Taco+: "Ignore accents using the LIKE Operator..."
- Next in thread: Tibor Karaszi: "Re: Ignore accents using the LIKE Operator..."
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 4 Aug 2004 16:15:45 +0100
In SQL Server 2000, you could specify an accent insensitive collation for
your LIKE query, for example:
SELECT * FROM Table WHERE nom LIKE '%Belanger%' COLLATE
SQL_Latin1_General_CP1_CI_AI
-- HTH, Vyas, MVP (SQL Server) http://vyaskn.tripod.com/ "+The_Taco+" <dominic.feron@dessausoprin.com> wrote in message news:eHABwSjeEHA.724@TK2MSFTNGP10.phx.gbl... Is it possible? Here's an example: SELECT * FROM Table WHERE nom LIKE '%Belanger%' I got two type of Belanger in my table, one with an accent ('Bélanger'), the other, no accent ('Belanger'). Right now, it only returns me 'Belanger' with no accent... Is there any way I can ignore the accent using the LIKE operator? Thanks for the help!
- Next message: Tibor Karaszi: "Re: Ignore accents using the LIKE Operator..."
- Previous message: John Kane: "Re: Error on Full-Text"
- In reply to: +The_Taco+: "Ignore accents using the LIKE Operator..."
- Next in thread: Tibor Karaszi: "Re: Ignore accents using the LIKE Operator..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|