Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit c749633

Browse files
Merge pull request #3732 from ldemidov/patch-2
Fix example mistakes in DatePart docs
2 parents c5cb612 + c8b38d4 commit c749633

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/t-sql/functions/datepart-transact-sql.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,16 @@ This table lists all *datepart* arguments, with corresponding return values, for
100100
|**month, mm, m**|10|
101101
|**dayofyear, dy, y**|303|
102102
|**day, dd, d**|30|
103-
|**week, wk, ww**|45|
104-
|**weekday, dw**|1|
103+
|**week, wk, ww**|44|
104+
|**weekday, dw**|3|
105105
|**hour, hh**|12|
106106
|**minute, n**|15|
107107
|**second, ss, s**|32|
108108
|**millisecond, ms**|123|
109109
|**microsecond, mcs**|123456|
110110
|**nanosecond, ns**|123456700|
111111
|**TZoffset, tz**|310|
112+
|**ISO_WEEK, ISOWK, ISOWW**|44|
112113

113114
## Week and weekday datepart arguments
114115
For a **week** (**wk**, **ww**) or **weekday** (**dw**) *datepart*, the `DATEPART` return value depends on the value set by [SET DATEFIRST](../../t-sql/statements/set-datefirst-transact-sql.md).

0 commit comments

Comments
 (0)