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

Commit ff140cd

Browse files
authored
Merge pull request #548 from fbsolo/patch-10
Update checksum-agg-transact-sql.md
2 parents f1f96a9 + f5f185f commit ff140cd

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

docs/t-sql/functions/checksum-agg-transact-sql.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ms.workload: "On Demand"
3131
# CHECKSUM_AGG (Transact-SQL)
3232
[!INCLUDE[tsql-appliesto-ss2008-asdb-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-asdb-xxxx-xxx-md.md)]
3333

34-
Returns the checksum of the values in a group. Null values are ignored. Can be followed by the [OVER clause](../../t-sql/queries/select-over-clause-transact-sql.md).
34+
This function returns the checksum of the values in a group. `CHECKSUM_AGG` ignores null values. The [OVER clause](../../t-sql/queries/select-over-clause-transact-sql.md) can follow `CHECKSUM_AGG`.
3535

3636
![Topic link icon](../../database-engine/configure-windows/media/topic-link.gif "Topic link icon") [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
3737

@@ -43,28 +43,28 @@ CHECKSUM_AGG ( [ ALL | DISTINCT ] expression )
4343

4444
## Arguments
4545
**ALL**
46-
Applies the aggregate function to all values. ALL is the default.
46+
Applies the aggregate function to all values. ALL is the default argument.
4747

4848
DISTINCT
49-
Specifies that CHECKSUM_AGG returns the checksum of unique values.
49+
Specifies that `CHECKSUM_AGG` returns the checksum of unique values.
5050

5151
*expression*
52-
Is an integer [expression](../../t-sql/language-elements/expressions-transact-sql.md). Aggregate functions and subqueries are not allowed.
52+
An integer [expression](../../t-sql/language-elements/expressions-transact-sql.md). `CHECKSUM_AGG` does not allow use of aggregate functions or subqueries.
5353

5454
## Return types
5555
Returns the checksum of all *expression* values as **int**.
5656

5757
## Remarks
58-
CHECKSUM_AGG can be used to detect changes in a table.
58+
`CHECKSUM_AGG` can detect changes in a table.
5959

60-
The order of the rows in the table does not affect the result of CHECKSUM_AGG. Also, CHECKSUM_AGG functions may be used with the DISTINCT keyword and the GROUP BY clause.
60+
The `CHECKSUM_AGG` result does not depend on the order of the rows in the table. Also, `CHECKSUM_AGG` functions allow the use of the DISTINCT keyword and the GROUP BY clause.
6161

62-
If one of the values in the expression list changes, the checksum of the list also generally changes. However, there is a small chance that the checksum will not change.
62+
If an expression list value changes, the list checksum value list will also probably change. However, a small possibility exists that the calculated checksum will not change.
6363

64-
CHECKSUM_AGG has similar functionality with other aggregate functions. For more information, see [Aggregate Functions (Transact-SQL)](../../t-sql/functions/aggregate-functions-transact-sql.md).
64+
`CHECKSUM_AGG` has functionality similar to that of other aggregate functions. For more information, see [Aggregate Functions (Transact-SQL)](../../t-sql/functions/aggregate-functions-transact-sql.md).
6565

6666
## Examples
67-
The following example uses `CHECKSUM_AGG` to detect changes in the `Quantity` column of the `ProductInventory` table in the [!INCLUDE[ssSampleDBnormal](../../includes/sssampledbnormal-md.md)] database.
67+
These examples use `CHECKSUM_AGG` to detect changes in the `Quantity` column of the `ProductInventory` table in the [!INCLUDE[ssSampleDBnormal](../../includes/sssampledbnormal-md.md)] database.
6868

6969
```sql
7070
--Get the checksum value before the column value is changed.

0 commit comments

Comments
 (0)