Change the spTriangular procedure to throw a sensible error to the caller when it is called with an input that’s going to overfl ow the max recursion (32). Debug your spTriangular procedure, setting a breakpoint that will stop execution only on the anchor instance call (that is, when @ValueIn = 1). This breakpoint should be outside the BEGIN/ END block.
Change the spTriangular procedure to throw a sensible error to the caller when it is
called with an input that’s going to overfl ow the max recursion (32).
Debug your spTriangular procedure, setting a breakpoint that will stop execution only on the anchor instance call (that is, when @ValueIn = 1). This breakpoint should be outside the BEGIN/
END block.