Re: Query for retrieving all rows containing é
Posted by: Ed Weggis
Date: February 02, 2010 02:53PM

Hi Peter,

Thanks for stepping in! I am somewhat new to this collation stuff and tinkered around with it without luck.

What I get is this:

Error

SQL query: Documentation

SELECT `products_name`
FROM `CL34190_ZEN_TEST`.`products_description`
WHERE `products_name` LIKE latin1_bin '%é%'
COLLATE utf8_bin
LIMIT 0 , 30;

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''%é%' COLLATE utf8_bin
LIMIT 0, 30' at line 1

The only thing I see is that the latin1_bin creates an extra accent which may stuff up the SQL syntax.

I feel I am so close, what is going wrong??

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Query for retrieving all rows containing é
2380
February 02, 2010 02:53PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.