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
SML020.md•623 B
# SQL Server Rule: SML020
| | |
|----|----|
| Assembly | TSQLSmellSCA |
| Namespace | TSQLSmellSCA |
| Class | TSQLSmellSCA20 |
## Rule Information
| | |
|----|----|
| Id | SML020 |
| Friendly Name | FORCEPLAN should be OFF |
| Category | CodeSmells |
| Ignorable | false |
| Applicable Types | Model |
## Description
FORCEPLAN should be OFF
### Examples
```sql
CREATE PROCEDURE dbo.Sets2
AS
SET NOCOUNT ON;
SET DATEFORMAT DMY;
SET DATEFIRST 1
SET FORCEPLAN ON
SET IDENTITY_INSERT dbo.TestTableSSDT On
-- SML008, SML009, SML020, SML022
```
<sub><sup>Generated by a tool</sup></sub>