Assembly | SqlServer.Rules.dll |
Namespace | SqlServer.Rules.Design |
Class | AvoidExecuteRule |
Id | SRD0024 |
Friendly Name | Avoid EXEC or EXECUTE |
Category | Design |
Ignorable | true |
Applicable Types | Procedure |
Avoid EXEC and EXECUTE with string literals. Use parameterized sp_executesql instead.
Avoid EXEC and EXECUTE with string literals or VARCHAR variables. Use parameterized sp_executesql instead.