I like that idea. I'd like to do some tests for real world usage. The problem is that probably half of most developer's customers are still on SQL2000. (Basic question now which I should already know) How to determine the version of SQLServer (if a valid connection exists)? I can't test this at the moment, so "buyer beware", but give this a crack...
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
I'm sure there are other ways as well....