Created
June 7, 2016 20:51
-
-
Save JamesSkemp/79035ef741befd75e00b5097ef11432d to your computer and use it in GitHub Desktop.
Sitecore check for missing templates
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
USE XXX_Master | |
-- Find items that don't have a template set. | |
SELECT TOP 10 * | |
FROM Items mi | |
LEFT JOIN Items ti ON mi.TemplateID = ti.ID | |
WHERE ti.ID IS NULL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment