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
SML028.md•657 B
# SQL Server Rule: SML028
| | |
|----|----|
| Assembly | TSQLSmellSCA |
| Namespace | TSQLSmellSCA |
| Class | TSQLSmellSCA28 |
## Rule Information
| | |
|----|----|
| Id | SML028 |
| Friendly Name | Ordering in a view does not guarantee result set ordering |
| Category | CodeSmells |
| Ignorable | false |
| Applicable Types | Model |
## Description
Ordering in a view does not guarantee result set ordering
### Examples
```sql
Create view dbo.ViewWithOrder
as
Select top(100000) [TestTableSSDT].Col1
from [dbo].[TestTableSSDT]
order by [TestTableSSDT].Col1
-- SML028
```
<sub><sup>Generated by a tool</sup></sub>