Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 722 Bytes

File metadata and controls

32 lines (22 loc) · 722 Bytes

SQL Server Rule: SRD0014

Assembly SqlServer.Rules.dll
Namespace SqlServer.Rules.Design
Class TopWithoutOrderByRule

Rule Information

Id SRD0014
Friendly Name TOP without an ORDER BY
Category Design
Ignorable false
Applicable Types Procedure
Scalar Function
Table Valued Function
View

Description

TOP clause used in a query without an ORDER BY clause.

Summary

TOP clause used in a query without an ORDER BY clause. Add order by clause to make selection predictable.