Skip to content

Commit

Permalink
Update functions-and-operators/string-functions.md
Browse files Browse the repository at this point in the history
Co-authored-by: Aolin <[email protected]>
  • Loading branch information
2 people authored and ti-chi-bot committed Apr 10, 2024
1 parent 8fc8be9 commit d5ddc27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions-and-operators/string-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ Return a string containing [octal](https://en.wikipedia.org/wiki/Octal) (base 8)

Examples:

The following example generates a sequence of numbers from 1 to 20 using a [recursive common table expression (CTE)](/develop/dev-guide-use-common-table-expression.md#recursive-cte) and then uses the `OCT()` function to convert each number to its octal representation. Decimal values from 0 to 7 have identical representations in octal. Decimal numbers from 8 to 15 correspond to octal numbers from 10 to 17, and so on.
The following example generates a sequence of numbers from 0 to 20 using a [recursive common table expression (CTE)](/develop/dev-guide-use-common-table-expression.md#recursive-cte) and then uses the `OCT()` function to convert each number to its octal representation. Decimal values from 0 to 7 have identical representations in octal. Decimal numbers from 8 to 15 correspond to octal numbers from 10 to 17.

```sql
WITH RECURSIVE nr(n) AS (
Expand Down

0 comments on commit d5ddc27

Please sign in to comment.