I am working on a stored procedure that has about 10 nested IF statements, not my doing. The only problem is I am trying to follow the Logic and I can't remember if the ELSE part of the IF statement is required if you just use the BEGIN and END statements. I am having difficulty following the 356 lines of the storeprocedure because at some points the original creater would use ELSE and other times didn't and they did not follow any type of indention that was consistent to show the flow of logic. Any help is appreciated.
Start Free Trial