Skip to content

Commit 7c4aa80

Browse files
authored
Merge pull request #34596 from MicrosoftDocs/FromPublicRepo
Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live)
2 parents f767153 + f3e6f18 commit 7c4aa80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ The *partition_by_clause* divides the result set produced by the `FROM` clause i
7777
- `COUNT(*)` without `GROUP BY` returns the cardinality (number of rows) in the resultset. This includes rows comprised of all-`NULL` values and duplicates.
7878
- `COUNT(*)` with `GROUP BY` returns the number of rows in each group. This includes `NULL` values and duplicates.
7979
- `COUNT(ALL <expression>)` evaluates *expression* for each row in a group, and returns the number of nonnull values.
80-
- `COUNT(DISTINCT *expression*)` evaluates *expression* for each row in a group, and returns the number of unique, nonnull values.
80+
- `COUNT(DISTINCT <expression>)` evaluates *expression* for each row in a group, and returns the number of unique, nonnull values.
8181

8282
`COUNT` is a deterministic function when used *without* the OVER and ORDER BY clauses. It is nondeterministic when used ***with*** the OVER and ORDER BY clauses. For more information, see [Deterministic and nondeterministic functions](../../relational-databases/user-defined-functions/deterministic-and-nondeterministic-functions.md).
8383

0 commit comments

Comments
 (0)