Skip to content

Commit

Permalink
lowercase some sql keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
wibeasley authored Nov 1, 2024
1 parent e127f7e commit 80587da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/dates.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
#' Consequently, we recommend not setting the day to a value after the 28.
#'
#' The [sql equivalent](https://docs.microsoft.com/en-us/sql/t-sql/functions/datepart-transact-sql) to `clump_month_date()`
#' is `CAST(convert(char(7), GETDATE(), 126) + '-15' AS date)`.
#' is `cast(convert(char(7), getdate(), 126) + '-15' as date)`.
#' The [sql equivalent](https://blog.sqlauthority.com/2007/08/20/sql-server-find-monday-of-the-current-week/) to `clump_week_date()`
#' is `SELECT DATEADD(wk, DATEDIFF(wk,0,GETDATE()), 0)`
#' is `SELECT dateadd(wk, datediff(wk, 0, getdate()), 0)`
#'
#' @author Will Beasley
#'
Expand Down

0 comments on commit 80587da

Please sign in to comment.