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
SRD0030.md•776 B
# SQL Server Rule: SRD0030
| | |
|----|----|
| Assembly | SqlServer.Rules |
| Namespace | SqlServer.Rules.Design |
| Class | AvoidHintsRule |
## Rule Information
| | |
|----|----|
| Id | SRD0030 |
| Friendly Name | Avoid Use of HINTS |
| Category | Design |
| Ignorable | true |
| Applicable Types | Procedure |
| | Scalar Function |
| | Table Valued Function |
| | View |
## Description
Avoid using Hints to force a particular behavior.
## Summary
Avoid the use of HINTS to enforce a particular behavior in your code.
### Examples
```sql
CREATE PROCEDURE [dbo].[ForceScan]
AS
set nocount on
Select col1
from dbo.TestTableSSDT with(forcescan);
RETURN 0
-- SML044, SRD0030
```
<sub><sup>Generated by a tool</sup></sub>