The easiest way to get the current version number is to browse to the Site Settings page (eg. for your Central Admin site): http://myserver:ca_port/_layouts/settings.aspx.
You can also hit the database:
SELECT [VersionId]
,[Version]
,[Id]
,[UserName]
,[TimeStamp]
,[FinalizeTimeStamp]
,[Mode]
,[ModeStack]
,[Updates]
,[Notes]
FROM [SharePoint_Config].[dbo].[Versions]
WHERE VersionId = '00000000-0000-0000-0000-000000000000'
ORDER BY Id DESC
The version numbers correlate with the more familiar release names listed below (note these version numbers differ from what you might see through the Add or Remove Programs applet or a DLL version):
- MOSS Beta 2: 12.0.0.4017
- MOSS Beta 2 TR: 12.0.0.4407
- RTM: 12.0.0.4518
- August 24 2007 Hotfix Package: 12.0.0.6036
- SP1: 12.0.0.6219
If your installation isn't running and you can't access the CA site, check out the following links to learn about alternative means to find the current version number.
- http://www.mindsharpblogs.com/penny/articles/481.aspx
- http://support.microsoft.com/kb/936984
- http://www.davehunter.co.uk/Blog/Lists/Posts/Post.aspx?List=f0e16a1a%2D6fa9%2D4130%2Dbcab%2Dbaeb97ccc4ff&ID=77