Last active
November 23, 2016 12:59
-
-
Save jamescoxhead/3207a49aea77d3571418 to your computer and use it in GitHub Desktop.
Lists Umbraco datatypes which haven't been used on document types. Care is needed if using packages like Archetype as this script will show datatypes as unused if they are only used on an archetype.
This file contains hidden or 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 distinct [nodeId] | |
FROM [cmsDataType] | |
EXCEPT | |
SELECT distinct dataTypeId | |
FROM [cmsPropertyType] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment