Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
guojidan committed Feb 22, 2024
1 parent f6c6e38 commit 070226a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/source/user-guide/sql/scalar_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,8 @@ trunc(numeric_expression[, decimal_places])

- [coalesce](#coalesce)
- [nullif](#nullif)
- [nvl/ifnull](#nvl/ifnull)
- [nvl](#nvl)
- [ifnull](#ifnull)

### `coalesce`

Expand Down Expand Up @@ -604,7 +605,7 @@ nullif(expression1, expression2)
- **expression2**: Expression to compare to expression1.
Can be a constant, column, or function, and any combination of arithmetic operators.

### `nvl/ifnull`
### `nvl`

Returns _expression2_ if _expression1_ is NULL; otherwise it returns _expression1_.

Expand All @@ -619,6 +620,10 @@ nvl(expression1, expression2)
- **expression2**: return if expression1 is NULL.
Can be a constant, column, or function, and any combination of arithmetic operators.

### `ifnull`

_Alias of [nvl](#nvl)._

## String Functions

- [ascii](#ascii)
Expand Down

0 comments on commit 070226a

Please sign in to comment.