Skip to content

Commit

Permalink
Merge pull request #10 from zlifb/patch-1
Browse files Browse the repository at this point in the history
FIR-28289 Change SUBSTRING's <start> and <count> parameters to BIGINT
  • Loading branch information
arushi-firebolt authored Jan 2, 2024
2 parents f73807a + 837b1ed commit 6db5247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sql_reference/functions-reference/string/substring.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ SUBSTRING(<expression> [FROM <start>] [FOR <count>])
| Parameter | Description |Supported input types |
| :--------- | :----------------------------------- | :---------------------|
| `<expression>` | The input string. | `TEXT` |
| `<start>` | Optional. The starting position for the substring. 1 is the first character. | `INTEGER` |
| `<count>` | Optional. The number of characters to be returned by the `SUBSTRING` function. Must be positive or 0. If not specified, `count` by default returns all of the string not specified by the `start` parameter. | `INTEGER` |
| `<start>` | Optional. The starting position for the substring. 1 is the first character. | `BIGINT` |
| `<count>` | Optional. The number of characters to be returned by the `SUBSTRING` function. Must be positive or 0. If not specified, `count` by default returns all of the string not specified by the `start` parameter. | `BIGINT` |

At least one of the optional arguments `<start>` and `<count>` must be given.

Expand Down

0 comments on commit 6db5247

Please sign in to comment.