From 86a0bad31f0f21e96aaebdeeb9d9317357c7b3db Mon Sep 17 00:00:00 2001 From: awais305 <33759138+awais305@users.noreply.github.com> Date: Mon, 12 Nov 2018 04:42:52 +0500 Subject: [PATCH] Added ILIKE part. (#21705) --- guide/english/sql/sql-like-operator/index.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/guide/english/sql/sql-like-operator/index.md b/guide/english/sql/sql-like-operator/index.md index f75c8acfa7..db610d33ae 100644 --- a/guide/english/sql/sql-like-operator/index.md +++ b/guide/english/sql/sql-like-operator/index.md @@ -6,6 +6,14 @@ title: SQL LIKE Operator ### LIKE Operator defined The `LIKE` operator is used in a `WHERE` or `HAVING` (as part of the `GROUP BY`) to limit the selected rows to the items when a column has a certain pattern of characters contained in it. +### ILIKE Opeartor +The 'ILIKE' works same as 'LIKE' but it ignores case-sensitivity in the string. The provided pattern string should be the case-sensitive else you will get an error. To avoid these errors, just write `ILIKE` instead of `LIKE`. +For Example, +```sql +FullName LIKE 'monique%' // --you will face error because the name saved in Database is 'Monique'. +FullName ILIKE 'monique%' // --you will not see any error now. +``` + ### This guide will demonstrate: * Determining if a string starts or ends with a given string pattern * Determining if a pattern exists in the middle of the string