Skip to content

Commit

Permalink
INIT
Browse files Browse the repository at this point in the history
  • Loading branch information
kfir-firebolt authored and arushi-firebolt committed Jan 18, 2024
1 parent 73f5d9f commit c1473b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ All Firebolt functions in alphabetical order.
| [SQRT](./numeric/sqrt.md) | Returns the square root of a non-negative numeric expression. | Numeric |
| [STDDEV_SAMP](./aggregation/stddev-samp.md) | Computes the standard deviation of a sample consisting of a numeric expression. | Aggregation |
| [STRPOS](./string/strpos.md) | Returns the position (in bytes) of the substring found in the string, starting from 1. The returned value is for the first matching value, and not for any subsequent valid matches. In case the substring does not exist, functions will return 0. | String |
| [SUBSTRING](./string/substring.md) | Returns a substring starting at the character indicated by the start index and including the number of characters defined. Character indexing starts at index 1. | String |
| [SUBSTRING, SUBSTR](./string/substring.md) | Returns a substring starting at the character indicated by the start index and including the number of characters defined. Character indexing starts at index 1. | String |
| [SUM](./aggregation/sum.md) | Calculates the sum of an expression. | Aggregation |
| [SUM OVER](./window/sum-window.md) | Calculate the sum of the values within the requested window. | Window |
| [TAN](./numeric/tan.md) | Calculates the tangent. | Numeric |
Expand Down
6 changes: 4 additions & 2 deletions docs/sql_reference/functions-reference/string/substring.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
layout: default
title: SUBSTRING
title: SUBSTRING, SUBSTR
description: Reference material for SUBSTRING function
grand_parent: SQL functions
parent: String functions
great_grand_parent: SQL reference
---
## SUBSTRING
## SUBSTRING, SUBSTR

Returns a substring starting at the character indicated by the `<start>` index and including the number of characters defined by `<count>`. Character indexing starts at index 1.

Expand All @@ -15,6 +15,8 @@ Returns a substring starting at the character indicated by the `<start>` index a

```sql
SUBSTRING(<expression> [FROM <start>] [FOR <count>])
SUBSTRING(<expression>, <start> [, <count>])
SUBSTR(<expression>, <start> [, <count>])
```

## Parameters
Expand Down

0 comments on commit c1473b2

Please sign in to comment.