Solved

What is the version of SharePoint?

Posted on 2014-11-20
4
234 Views
Last Modified: 2014-11-20
I have a set of SQL databases from a SharePoint environment.  I do not have any of the web files.

I am trying to determine the version of the SharePoint database.  Does anyone know how to write a SQL query to do this?
0
Comment
Question by:rye004
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
Ray earned 250 total points
ID: 40455700
select * FROM [SharePoint_Config].[dbo].[Versions]
WHERE VersionId = '00000000-0000-0000-0000-000000000000'

Then look up the version in http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=346
0
 
LVL 20

Assisted Solution

by:dsacker
dsacker earned 250 total points
ID: 40455715
This query should work. If your Sharepoint database name is not "Sharepoint_Config", select the appropriately named config 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

Open in new window

The first record will be your most current version (if they have changed).
0
 

Author Comment

by:rye004
ID: 40455758
Thank you guys.  I am getting version 14.0.4762.1000, which I believe is SharePoint 2010.  Could someone confirm this?
0
 
LVL 20

Expert Comment

by:dsacker
ID: 40455763
Yes, it is 2010 RTM.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now