Commit a3208140 authored by paul@central.snake.net's avatar paul@central.snake.net
Browse files

manual.texi add LIKE example illustrating case sensitivity.

parent f6cfc8a8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6,3 +6,4 @@ paul@teton.kitebird.com
monty@hundin.mysql.fi
sasha@mysql.sashanet.com
monty@work.mysql.com
paul@central.snake.net
+10 −0
Original line number Diff line number Diff line
@@ -16690,6 +16690,16 @@ mysql> select 'David_' LIKE 'David|_' ESCAPE '|';
        -> 1
@end example
The following two statements illustrate that string comparisons are
case insensitive unless one of the operands is a binary string:
@example
mysql> select 'abc' LIKE 'ABC';
        -> 1
mysql> SELECT 'abc' LIKE BINARY 'ABC';
        -> 0
@end example
@code{LIKE} is allowed on numeric expressions! (This is a @strong{MySQL}
extension to the ANSI SQL @code{LIKE}.)