We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ErikEJ/SqlServer.Rules'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
SRP0011.md•838 B
# SQL Server Rule: SRP0011
| | |
|----|----|
| Assembly | SqlServer.Rules |
| Namespace | SqlServer.Rules.Performance |
| Class | AvoidNotInRule |
## Rule Information
| | |
|----|----|
| Id | SRP0011 |
| Friendly Name | Non-member test in predicate |
| Category | Performance |
| Ignorable | true |
| Applicable Types | Procedure |
| | Scalar Function |
| | Table Valued Function |
| | View |
## Description
Avoid using the NOT IN predicate in a WHERE clause. (Sargable)
## Summary
Avoid using NOT IN predicate in the WHERE clause.
### Remarks
Using NOT IN predicate in the WHERE clause generally performs badly, because the SQL Server
optimizer has to use a TABLE SCAN instead of an INDEX SEEK even the filtering columns are
covered by index.
<sub><sup>Generated by a tool</sup></sub>