like with backslash
Boy am I confused. Will the like operator not generate a match when comparing with a backslash?
Whth MySQL 4.1
Consider:
insert into test.junk (s) values ("a\\b\\c\\foobar.java")
but
select * from test.junk where s like "%foobar.java"
returns the record
but
select * from test.junk where s like "%c\\foobar.java"
returns no records.
Subject
Written By
Posted
like with backslash
June 29, 2005 08:45PM
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.