79481388

Date: 2025-03-03 15:35:09
Score: 0.5
Natty:
Report link

Just slap an if statement around the delete:

if (@ReportType <= 1)
begin
  DELETE FROM dbo.RTTReportHelper WHERE Username = @userName
end
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Brett