Created
February 11, 2021 14:54
-
-
Save AntMooreWebDev/0e84a8b06710adb20d11152bc216b3fd to your computer and use it in GitHub Desktop.
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
/****** Script for SelectTopNRows command from SSMS ******/ | |
SELECT TOP (1000) [id] | |
,[contentNodeId] | |
,[versionId] | |
,[propertytypeid] | |
,[dataInt] | |
,[dataDecimal] | |
,[dataDate] | |
,[dataNvarchar] | |
,[dataNtext] | |
FROM [dbo].[cmsPropertyData] | |
where propertytypeid in (Select id from cmsPropertyType where alias = 'umbracoFile') | |
AND (dataNtext LIKE '%[FILENAME]%' OR | |
dataNvarchar LIKE '%[FILENAME]%') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment