From a3208140f98dc171e2979faff56fcab5c3fb6765 Mon Sep 17 00:00:00 2001 From: "paul@central.snake.net" <> Date: Wed, 27 Jun 2001 18:21:42 -0500 Subject: [PATCH] manual.texi add LIKE example illustrating case sensitivity. --- BitKeeper/etc/logging_ok | 1 + Docs/manual.texi | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok index 83d7b6d611c..7dc05f47709 100644 --- a/BitKeeper/etc/logging_ok +++ b/BitKeeper/etc/logging_ok @@ -6,3 +6,4 @@ paul@teton.kitebird.com monty@hundin.mysql.fi sasha@mysql.sashanet.com monty@work.mysql.com +paul@central.snake.net diff --git a/Docs/manual.texi b/Docs/manual.texi index 9f91ab8aa0c..4e6206832a8 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -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}.)