| Assembly | SqlServer.Rules.dll |
| Namespace | SqlServer.Rules.Performance |
| Class | DoNotUseDistinctInAggregatesRule |
| Id | SRP0003 |
| Friendly Name | Aggregate of unique set |
| Category | Performance |
| Ignorable | true |
| Applicable Types | Procedure |
| Scalar Function | |
| Table Valued Function | |
| View |
Avoid using DISTINCT keyword inside of aggregate functions.
Avoid using DISTINCT keyword inside of aggregate functions.