The author makes the claim several times that there is no reason to ever use a cursor again with SQL Server 2005, because everything can be done with set-based logic....
You've shown me how to get the mirroring information that I already have (albeit, with new column aliases). That query returns the witness endpoint address. I'm trying to find the...