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
SRP0021.md•979 B
# SQL Server Rule: SRP0021
| | |
|----|----|
| Assembly | SqlServer.Rules |
| Namespace | SqlServer.Rules.Design |
| Class | AvoidParameterModificationRule |
## Rule Information
| | |
|----|----|
| Id | SRP0021 |
| Friendly Name | Manipulated parameter value |
| Category | Performance |
| Ignorable | true |
| Applicable Types | Procedure |
## Description
Avoid modification of parameters in a stored procedure prior to use in a select query.
## Summary
Avoid modification of parameters in a stored procedure prior to use in a select query.
### Remarks
For best query performance, in some situations you'll need to avoid assigning a new
value to a parameter of a stored procedure within the procedure body, and then using the
parameter value in a query. The stored procedure and all queries in it are initially
compiled with the parameter value first passed in as a parameter to the query.
<sub><sup>Generated by a tool</sup></sub>