Posts inactive for 6 months

0

Please login or register to vote for this query.

(click on this box to dismiss)

Moderators

Q&A for community managers, administrators, and moderators

select top 300 Id, Title, Tags, LastActivityDate
  from Posts q
 where LastActivityDate < DateAdd(month, -6, getdate())  
   and CommunityOwnedDate is null
   and PostTypeId = 1 /* question */
   and ParentId is null
   and DeletionDate is null
 order by LastActivityDate;

Enter Parameters

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