Created
May 12, 2011 14:58
-
-
Save FilipDeVos/968671 to your computer and use it in GitHub Desktop.
Determine SQL Version 5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT CASE @@microsoftversion/ 0x01000000 | |
WHEN 8 THEN 'sql 2000' | |
WHEN 9 THEN 'sql 2005' | |
WHEN 10 THEN 'sql 2008' | |
WHEN 11 THEN 'sql Denali' | |
END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment