I have a very complex T-SQL procedure about 2000 lines (I didn't develop it). I was asked to fix some bugs on it. I tried some methods as:
SQL Server Management StudioMy question:
What's the best method to debug a procedure like this?
Start by refactoring the procedure into multiple smaller procedures that can be tested and debugged in isolation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With