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
SRP0010.md•894 B
# SQL Server Rule: SRP0010
| | |
|----|----|
| Assembly | SqlServer.Rules |
| Namespace | SqlServer.Rules.Performance |
| Class | AvoidFunctionsInActionQueries |
## Rule Information
| | |
|----|----|
| Id | SRP0010 |
| Friendly Name | Function in data modification |
| Category | Performance |
| Ignorable | true |
| Applicable Types | Procedure |
| | Scalar Function |
| | Table Valued Function |
## Description
Avoid the use of user defined functions with UPDATE/INSERT/DELETE statements. (Halloween Protection)
## Summary
Avoid the use of functions with UPDATE / INSERT / DELETE statements. (Halloween Protection)
### Remarks
When a user defined function that does not use <c>SCHEMABINDING</c> is used in an action
query the data modifications have to be spooled to tempdb in a two step operation.
<sub><sup>Generated by a tool</sup></sub>