Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 799 Bytes

SRD0020.md

File metadata and controls

32 lines (22 loc) · 799 Bytes

SQL Server Rule: SRD0020

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

Rule Information

Id SRD0020
Friendly Name Incomplete or missing JOIN predicate
Category Design
Ignorable false
Applicable Types Procedure
Scalar Function
Table Valued Function
View

Description

The query has issues with the join clause. It is either missing a backing foreign key or the join is missing one or more columns.

Summary

Make sure you have all the columns for the JOIN relationship as conditions in the ON clause