Created
August 19, 2013 09:55
-
-
Save bradleykronson/7994dfc7c2c197dd6be1 to your computer and use it in GitHub Desktop.
SQL to Find Nodes using a Certain Document Type.cs
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 * FROM cmsContent C | |
INNER JOIN cmsContentType CT ON C.contentType = CT.nodeId | |
INNER JOIN umbracoNode N ON C.nodeId = N.id | |
WHERE CT.alias = ‘yourDocumentTypeAliasHere’ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment