Skip to content

Commit 1b882c8

Browse files
authored
Merge pull request #114345 from SQLSourabh/patch-17
Fixed Typos
2 parents da9e8a9 + 131e118 commit 1b882c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-sql-edge/date-bucket-tsql.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The part of *date* that is used with the ‘number’ parameter. Ex. Year, month
5050
|**nanosecond**|**ns**|
5151

5252
*number*
53-
2
53+
5454
The integer number that decides the width of the bucket combined with *datePart* argument. This represents the width of the dataPart buckets from the origin time.
5555

5656
*date*
@@ -74,7 +74,7 @@ The return value data type for this method is dynamic. The return type depends o
7474

7575
### Understanding the output from `DATE_BUCKET`
7676

77-
`Data_Bucket` returns the latest date or time value, corresponding to the datePart and number parameter. For example, in the expressions below, `Date_Bucket` will return the output value of `2020-04-13 00:00:00.0000000`, as the output is calculated based on one week buckets from the default origin time of `1900-01-01 00:00:00.000`. The value `2020-04-13 00:00:00.0000000` is 6276 weeks from the origin value of `1900-01-01 00:00:00.000`.
77+
`Date_Bucket` returns the latest date or time value, corresponding to the datePart and number parameter. For example, in the expressions below, `Date_Bucket` will return the output value of `2020-04-13 00:00:00.0000000`, as the output is calculated based on one week buckets from the default origin time of `1900-01-01 00:00:00.000`. The value `2020-04-13 00:00:00.0000000` is 6276 weeks from the origin value of `1900-01-01 00:00:00.000`.
7878

7979
```sql
8080
declare @date datetime2 = '2020-04-15 21:22:11'
@@ -134,7 +134,7 @@ Use `DATE_BUCKET` in the following clauses:
134134

135135
### A. Calculating Date_Bucket with a bucket width of 1 from the origin time
136136

137-
Each of these statements increments *data_bucket* with a bucket width of 1 from the origin time:
137+
Each of these statements increments *date_bucket* with a bucket width of 1 from the origin time:
138138

139139
```sql
140140
declare @date datetime2 = '2020-04-30 21:21:21'
@@ -265,4 +265,4 @@ GO
265265

266266
## See also
267267

268-
[CAST and CONVERT (Transact-SQL)](/sql/t-sql/functions/cast-and-convert-transact-sql/)
268+
[CAST and CONVERT (Transact-SQL)](/sql/t-sql/functions/cast-and-convert-transact-sql/)

0 commit comments

Comments
 (0)