Blog Stats
  • Posts - 157
  • Articles - 0
  • Comments - 67
  • Trackbacks - 19

 

How to: retrieve the SQL Server remotely

In case you need to find out the version of the SQL Server installed on a server you could execute the following statement:

SELECT @@VERSION;

Which returns on my development sandbox the following string:

Microsoft SQL Server 2005 - 9.00.2047.00 (Intel X86)   Apr 14 2006 01:12:25   Copyright (c) 1988-2005 Microsoft Corporation  Developer Edition on Windows NT 5.1 (Build 2600: Service Pack 2)


Cross-posted from The .NET Aficionado

Feedback

No comments posted yet.


Post a comment





 

 

 

Copyright © Gabriel Lozano-Morán