• some of the things you want are in global variables (@@servername, @@servicename, @@version). Others you'd have to use xp_regread to obtain. The IP you already know if you can connect to the server!

    The probability of survival is inversely proportional to the angle of arrival.