mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
comments edits
This commit is contained in:
parent
2c3e404c06
commit
52c7ea3366
@ -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**
|
||||
|
||||
|
@ -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])`.
|
||||
|
Loading…
Reference in New Issue
Block a user