Skip to content

Commit

Permalink
Merge pull request #1339 from david-cortes/patch-2
Browse files Browse the repository at this point in the history
Remove trailing quote typo
  • Loading branch information
Mause authored Oct 10, 2023
2 parents b020498 + dc1c1de commit af440ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sql/functions/date.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The table below shows the available mathematical operators for `DATE` types.
| `+` | addition of an `INTERVAL` | `DATE '1992-03-22' + INTERVAL 5 DAY` | 1992-03-27 |
| `+` | addition of a variable `INTERVAL` | `SELECT DATE '1992-03-22' + INTERVAL 1 DAY * d.days FROM (VALUES (5), (11)) AS d(days)` |1992-03-27 1992-04-02 |
| `-` | subtraction of `DATE`s | `DATE '1992-03-27' - DATE '1992-03-22'` | 5 |
| `-` | subtraction of an `INTERVAL` | `DATE '1992-03-27' - INTERVAL 5 DAY'` | 1992-03-22 |
| `-` | subtraction of an `INTERVAL` | `DATE '1992-03-27' - INTERVAL 5 DAY` | 1992-03-22 |
| `-` | subtraction of a variable `INTERVAL` | `SELECT DATE '1992-03-27' - INTERVAL 1 DAY * d.days FROM (VALUES (5), (11)) AS d(days)` |1992-03-22 1992-03-16 |

Adding to or subtracting from [infinite values](../../sql/data_types/date#special-values) produces the same infinite value.
Expand Down

0 comments on commit af440ce

Please sign in to comment.