Deleted by Tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT 
   url = 'site://q/' + CAST(pwd.Id AS varchar),
   DeletionDate,
   ClosedDate,
   Tags AS [Tags]
FROM PostsWithDeleted pwd JOIN PostHistory ph ON ph.PostId=pwd.Id
WHERE DeletionDate >= '2020-06-22' AND PostTypeId = 1 AND CHARINDEX(##TagName:string##, Tags) > 0 AND ph.CreationDate IS NOT NULL 
ORDER BY DeletionDate DESC

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results