To specify a different escape character, use the ESCAPE clause : LIKE : String Functions MySQL TUTORIALS


MySQL TUTORIALS » String Functions » LIKE »

 

To specify a different escape character, use the ESCAPE clause


mysql>
mysql> SELECT 'ABCDE_' LIKE 'ABCDE|_' ESCAPE '|';
+------------------------------------+
'ABCDE_' LIKE 'ABCDE|_' ESCAPE '|' |
+------------------------------------+
|                                  |
+------------------------------------+
row in set (0.00 sec)

mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo String Functions
» LIKE