mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Minor improvements
This commit is contained in:
parent
13627226c3
commit
e654564aa0
@ -538,7 +538,7 @@ For case-insensitive search or/and in UTF-8 format use functions `ngramSearchCas
|
|||||||
|
|
||||||
## countSubstrings {#countSubstrings}
|
## countSubstrings {#countSubstrings}
|
||||||
|
|
||||||
Counts the number of substring occurrences.
|
Returns the number of substring occurrences.
|
||||||
|
|
||||||
For a case-insensitive search, use [countSubstringsCaseInsensitive](../../sql-reference/functions/string-search-functions.md#countSubstringsCaseInsensitive) or [countSubstringsCaseInsensitiveUTF8](../../sql-reference/functions/string-search-functions.md#countSubstringsCaseInsensitiveUTF8) functions.
|
For a case-insensitive search, use [countSubstringsCaseInsensitive](../../sql-reference/functions/string-search-functions.md#countSubstringsCaseInsensitive) or [countSubstringsCaseInsensitiveUTF8](../../sql-reference/functions/string-search-functions.md#countSubstringsCaseInsensitiveUTF8) functions.
|
||||||
|
|
||||||
@ -606,7 +606,7 @@ Result:
|
|||||||
|
|
||||||
## countSubstringsCaseInsensitive {#countSubstringsCaseInsensitive}
|
## countSubstringsCaseInsensitive {#countSubstringsCaseInsensitive}
|
||||||
|
|
||||||
Counts the number of substring occurrences case-insensitive.
|
Returns the number of substring occurrences case-insensitive.
|
||||||
|
|
||||||
**Syntax**
|
**Syntax**
|
||||||
|
|
||||||
@ -672,7 +672,7 @@ Result:
|
|||||||
|
|
||||||
## countSubstringsCaseInsensitiveUTF8 {#countSubstringsCaseInsensitiveUTF8}
|
## countSubstringsCaseInsensitiveUTF8 {#countSubstringsCaseInsensitiveUTF8}
|
||||||
|
|
||||||
Counts the number of substring occurrences in `UTF-8` case-insensitive.
|
Returns the number of substring occurrences in `UTF-8` case-insensitive.
|
||||||
|
|
||||||
**Syntax**
|
**Syntax**
|
||||||
|
|
||||||
|
@ -524,7 +524,7 @@ SELECT * FROM Months WHERE ilike(name, '%j%')
|
|||||||
|
|
||||||
## countSubstrings {#countSubstrings}
|
## countSubstrings {#countSubstrings}
|
||||||
|
|
||||||
Вычисляет количество вхождений подстроки.
|
Возвращает количество вхождений подстроки.
|
||||||
|
|
||||||
Для поиска без учета регистра, используйте функции [countSubstringsCaseInsensitive](../../sql-reference/functions/string-search-functions.md#countSubstringsCaseInsensitive) или [countSubstringsCaseInsensitiveUTF8](../../sql-reference/functions/string-search-functions.md#countSubstringsCaseInsensitiveUTF8)
|
Для поиска без учета регистра, используйте функции [countSubstringsCaseInsensitive](../../sql-reference/functions/string-search-functions.md#countSubstringsCaseInsensitive) или [countSubstringsCaseInsensitiveUTF8](../../sql-reference/functions/string-search-functions.md#countSubstringsCaseInsensitiveUTF8)
|
||||||
|
|
||||||
@ -592,7 +592,7 @@ SELECT countSubstrings('abc___abc', 'abc', 4);
|
|||||||
|
|
||||||
## countSubstringsCaseInsensitive {#countSubstringsCaseInsensitive}
|
## countSubstringsCaseInsensitive {#countSubstringsCaseInsensitive}
|
||||||
|
|
||||||
Вычисляет количество вхождений подстроки без учета регистра.
|
Возвращает количество вхождений подстроки без учета регистра.
|
||||||
|
|
||||||
**Синтаксис**
|
**Синтаксис**
|
||||||
|
|
||||||
@ -658,7 +658,7 @@ SELECT countSubstringsCaseInsensitive('abC___abC', 'aBc', 2);
|
|||||||
|
|
||||||
## countSubstringsCaseInsensitiveUTF8 {#countSubstringsCaseInsensitiveUTF8}
|
## countSubstringsCaseInsensitiveUTF8 {#countSubstringsCaseInsensitiveUTF8}
|
||||||
|
|
||||||
Вычисляет количество вхождений подстроки в `UTF-8` без учета регистра.
|
Возвращает количество вхождений подстроки в `UTF-8` без учета регистра.
|
||||||
|
|
||||||
**Синтаксис**
|
**Синтаксис**
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user