SELECT se.OwnerUserId as [User Link], p.Id as [Post Link]...

0

Please login or register to vote for this query.

(click on this box to dismiss)

SharePoint

Q&A for SharePoint enthusiasts

-- WITH SuggEds AS (
  SELECT se.OwnerUserId as [User Link], p.Id as [Post Link], p.PostTypeId, se.*, p.*
  FROM SuggestedEdits se
  LEFT JOIN Posts p ON p.Id = se.PostId
  WHERE 
    se.ApprovalDate IS NULL AND
    se.RejectionDate IS NULL AND
    p.PostTypeId <> 5
-- )

Enter Parameters

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