Re: LIKE not working as expected
No, but you _would_ expect
select * from data WHERE stringValue like '%\\\\%' escape '\\';
in my example to produce a positive result, for the same reason that this does:
select "Thor\\'s Hammer" like '%\\\\%' escape '\\';
+---------------------------------------------+
| "Thor\\'s Hammer" like '%\\\\%' escape '\\' |
+---------------------------------------------+
| 1 |
+---------------------------------------------+
Subject
Views
Written By
Posted
1527
April 18, 2020 08:37PM
641
April 18, 2020 09:14PM
1016
April 19, 2020 12:27AM
644
April 19, 2020 10:38AM
1169
April 23, 2020 07:13PM
621
April 27, 2020 08:13AM
Re: LIKE not working as expected
620
April 27, 2020 11:02AM
647
April 27, 2020 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.