Home
Variables should not be self-assigned
Rule description
- Variables should not be self-assigned
Non-compliant Code Example
DECLARE @Number INT = 100;;
SET @Number = @Number --Non compliant code (Variable is self assigned)
Rule description
Non-compliant Code Example
DECLARE @Number INT = 100;;
SET @Number = @Number --Non compliant code (Variable is self assigned)