[snip]

ID      |       Name
================
1       |       Author\'s

As you can see, the name value has been escaped.  Now, the question is,
how do you match on a value that has escaped charaters?  I've tried the
following

SELECT * FROM table WHERE Name = 'Author\'s'

SELECT * FROM table WHERE Name LIKE 'Author\'s'
SELECT * FROM table WHERE Name = '%Author\'s%'
SELECT * FROM table WHERE Name = 'Author''s'
SELECT * FROM table WHERE Name = "Author\'s"
SELECT * FROM table WHERE Name = "Author's"
[/snip]

The only one you didn't try....

SELECT * FROM table WHERE Name LIKE 'Author%'

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to