Assembly | SqlServer.Rules.dll |
Namespace | SqlServer.Rules.Design |
Class | AvoidORInQueriesRule |
Id | SRD0032 |
Friendly Name | Avoid use of OR in where clause |
Category | Design |
Ignorable | true |
Applicable Types | Procedure |
Scalar Function | |
Table Valued Function | |
View |
Try to avoid the OR operator in query where clauses if possible. (Sargable)
Try to avoid the OR operator in query where clauses if possible. This affects sargability.