Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 732 Bytes

SRD0041.md

File metadata and controls

31 lines (21 loc) · 732 Bytes

SQL Server Rule: SRD0041

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

Rule Information

Id SRD0041
Friendly Name Avoid SELECT INTO temp or table variables
Category Design
Ignorable true
Applicable Types Procedure
Scalar Function
Table Valued Function

Description

Avoid use of the SELECT INTO syntax.

Summary

Avoid using SELECT INTO to create temp tables or table variables. Create these tables normally using a DECLARE or CREATE statement.