I have a store procedure.

It has many nested IF ELSE block. These are not properly indented.

How do I indent nested IF ELSE block properly and increase readability of my code ?

Its very difficult to read a unindented code.

suggest me a solution to indent store procedure code.

Thanks