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
SRP0007.md•774 B
# SQL Server Rule: SRP0007
| | |
|----|----|
| Assembly | SqlServer.Rules |
| Namespace | SqlServer.Rules.Performance |
| Class | CursorNotClosedRule |
## Rule Information
| | |
|----|----|
| Id | SRP0007 |
| Friendly Name | Dangling cursor |
| Category | Performance |
| Ignorable | false |
| Applicable Types | Procedure |
| | Scalar Function |
| | Table Valued Function |
## Description
Local cursor not closed.
## Summary
Local cursor not closed
### Remarks
The rule checks if any local cursor is closed until the end of the batch. Because when open,
the cursor still holds locks on referred-to-tables or views, you should explicitly close it
as soon as it is no longer needed.
<sub><sup>Generated by a tool</sup></sub>