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??
Subject
Views
Written By
Posted
3919
February 02, 2010 10:20AM
2117
February 02, 2010 11:30AM
Re: Query for retrieving all rows containing é
2380
February 02, 2010 02:53PM
1979
February 07, 2010 06:33PM
1944
February 07, 2010 06:45PM
2345
February 07, 2010 07:16PM
2137
February 07, 2010 09:26PM
1732
April 09, 2010 12:00PM
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.