Skip to content

Update SUM function syntax and OVER clause details - #10391

Open
Gabriel Donizeti Candido (donican) wants to merge 2 commits into
MicrosoftDocs:livefrom
donican:donican-patch-1
Open

Update SUM function syntax and OVER clause details#10391
Gabriel Donizeti Candido (donican) wants to merge 2 commits into
MicrosoftDocs:livefrom
donican:donican-patch-1

Conversation

@donican

Copy link
Copy Markdown
Contributor

This article doesn't mention that the OVER clause can include the ROWS or RANGE clause. I believe this is particularly important because when the ORDER BY clause is specified, ROWS or RANGE assumes its default value, which can then be explicitly changed by the user. My suggested change clarifies this point.

Added row_or_range_clause to the SUM function syntax and updated the OVER clause description to include its default behavior.
@prmerger-automator

Copy link
Copy Markdown
Contributor

Gabriel Donizeti Candido (@donican) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@prmerger-automator

Copy link
Copy Markdown
Contributor

Gabriel Donizeti Candido (@donican) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 9024494:

✅ Validation status: passed

File Status Preview URL Details
docs/t-sql/functions/sum-transact-sql.md ✅Succeeded

For more details, please refer to the build report.

Clarified the requirements for order_by_clause and row_or_range_clause in the OVER clause section.
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 6dd7423:

✅ Validation status: passed

File Status Preview URL Details
docs/t-sql/functions/sum-transact-sql.md ✅Succeeded

For more details, please refer to the build report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants