stored procedure logic,data flow visualization tool I have a very poorly written stored procedure with cursors, if else etc. Is there any toll available to visualise the logic and data flow?

Thanks
I've used a program called Code Visual to Flowchart, if you feed in a SQL file it will generate a flowchart based on it. The free version is all I've used and it met the needs I had, making it much easier to work my way through a 3000 line procedure that was completely devoid of comments.

"I can confirm I have no affiliation to this product"