From 52c7ea3366736f7a24852db036fef04948c493d0 Mon Sep 17 00:00:00 2001 From: ana-uvarova Date: Mon, 22 Mar 2021 17:22:27 +0300 Subject: [PATCH] comments edits --- docs/en/sql-reference/functions/string-search-functions.md | 6 +++--- docs/ru/sql-reference/functions/string-search-functions.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/sql-reference/functions/string-search-functions.md b/docs/en/sql-reference/functions/string-search-functions.md index 7b923d4ab9c..79dc2eace08 100644 --- a/docs/en/sql-reference/functions/string-search-functions.md +++ b/docs/en/sql-reference/functions/string-search-functions.md @@ -19,13 +19,13 @@ For a case-insensitive search, use the function [positionCaseInsensitive](#posit **Syntax** ``` sql -position((haystack, needle[, start_pos]) | (needle in haystack)) +position((haystack, needle[, start_pos]) | (needle IN haystack)) ``` Alias: `locate(haystack, needle[, start_pos])`. -!!! note - Now it supports position(needle in haystack) syntax for SQL-compatibility, which is same as position(haystack, needle). This new function POSITION(needle IN haystack) works exactly the same way as POSITION(haystack, needle). +!!! note "Note" + Now it supports position(needle IN haystack) syntax for SQL-compatibility, which is same as position(haystack, needle). This new function POSITION(needle IN haystack) works exactly the same way as POSITION(haystack, needle). **Arguments** diff --git a/docs/ru/sql-reference/functions/string-search-functions.md b/docs/ru/sql-reference/functions/string-search-functions.md index b1b72ec8446..bf68a957e5a 100644 --- a/docs/ru/sql-reference/functions/string-search-functions.md +++ b/docs/ru/sql-reference/functions/string-search-functions.md @@ -18,7 +18,7 @@ toc_title: "\u0424\u0443\u043d\u043a\u0446\u0438\u0438\u0020\u043f\u043e\u0438\u **Синтаксис** ``` sql -position((haystack, needle[, start_pos]) | (needle in haystack)) +position((haystack, needle[, start_pos]) | (needle IN haystack)) ``` Алиас: `locate(haystack, needle[, start_pos])`.