When I first started using SQL I quickly learned that CURSORS were not the ideal solution to most problems, but it was appealing because it resembled the programming approach that...
You have created a great script! The info is exactly what is needed to pinpoint blockages. The format of your select statement also makes it extremely easy to re-arrange the...