Last active
September 10, 2015 14:18
-
-
Save SteGriff/93cf6f4f22ea60cdaeef to your computer and use it in GitHub Desktop.
Umbraco Database Freshness Check
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 | |
max(ID) as "Newest node", | |
count(*) as "Total nodes", | |
(select top(1) [timestamp] from cmsPreviewXml order by [timestamp] desc) as "Latest preview" | |
from umbracoNode | |
go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment