Lance's Whiteboard

Random scribbling about C#, Javascript, Web Development, Architecture, and anything else that pops into my mind.

News


Creative Commons License
Lance's Whiteboard Blog by Lance Hunt is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Based on a work at weblogs.asp.net




Sponsored Ad
Sponsored Ad

Blogs I Read

Find your Sql Server Version and Edition

When working with Sql Reporting Services or other features that are version-specific, I often need to know what version of Sql Server is running on the target server.

For Sql 2000 and newer, you can simply query:

SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')

For Sql 7.0 and earlier, you can query:

SELECT @@VERSION

If the results arent obvious, you can see this KB article for details on what each result means:
http://support.microsoft.com/kb/321185

Comments

coco said:

thank you ! good!

# April 16, 2007 11:02 PM