You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/_docs/reference.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2920,7 +2920,7 @@ In the following:
2920
2920
| b | DATE_TRUNC(date, timeUnit) | Truncates *date* to the granularity of *timeUnit*, rounding to the beginning of the unit
2921
2921
| o r s h | DECODE(value, value1, result1 [, valueN, resultN ]*[, default ]) | Compares *value* to each *valueN* value one by one; if *value* is equal to a *valueN*, returns the corresponding *resultN*, else returns *default*, or NULL if *default* is not specified
2922
2922
| p r | DIFFERENCE(string, string) | Returns a measure of the similarity of two strings, namely the number of character positions that their `SOUNDEX` values have in common: 4 if the `SOUNDEX` values are same and 0 if the `SOUNDEX` values are totally different
2923
-
| f s | ENDSWITH(string1, string2) | Returns whether *string2* is a suffix of *string1*
2923
+
| f s i | ENDSWITH(string1, string2) | Returns whether *string2* is a suffix of *string1*
2924
2924
| b | ENDS_WITH(string1, string2) | Equivalent to `ENDSWITH(string1, string2)`
2925
2925
| s | EXISTS(array, func) | Returns whether a predicate *func* holds for one or more elements in the *array*
2926
2926
| o | EXISTSNODE(xml, xpath, [, namespaces ]) | Determines whether traversal of a XML document using a specified xpath results in any nodes. Returns 0 if no nodes remain after applying the XPath traversal on the document fragment of the element or elements matched by the XPath expression. Returns 1 if any nodes remain. The optional namespace value that specifies a default mapping or namespace mapping for prefixes, which is used when evaluating the XPath expression.
@@ -3041,7 +3041,7 @@ In the following:
3041
3041
| m s h | SPACE(integer) | Returns a string of *integer* spaces; returns an empty string if *integer* is less than 1
3042
3042
| b | SPLIT(string [, delimiter ]) | Returns the string array of *string* split at *delimiter* (if omitted, default is comma). If the *string* is empty it returns an empty array, otherwise, if the *delimiter* is empty, it returns an array containing the original *string*.
3043
3043
| p | SPLIT_PART(string, delimiter, n) | Returns the *n*th field in *string* using *delimiter*; returns empty string if *n* is less than 1 or greater than the number of fields, and the n can be negative to count from the end.
3044
-
| f s | STARTSWITH(string1, string2) | Returns whether *string2* is a prefix of *string1*
3044
+
| f s i | STARTSWITH(string1, string2) | Returns whether *string2* is a prefix of *string1*
3045
3045
| b p | STARTS_WITH(string1, string2) | Equivalent to `STARTSWITH(string1, string2)`
3046
3046
| m | STRCMP(string, string) | Returns 0 if both of the strings are same and returns -1 when the first argument is smaller than the second and 1 when the second one is smaller than the first one
3047
3047
| b r p | STRPOS(string, substring) | Equivalent to `POSITION(substring IN string)`
0 commit comments