How many edits have I done?

0

Please login or register to vote for this query.

(click on this box to dismiss)

Determines how many edits you have made to questions and answers on the site.

The Workplace Meta

Q&A about the site for members of the workforce navigating the professional setting

-- Enter Query Title
-- Enter Query Description

DECLARE @UserId int = ##UserId##

SELECT COUNT(*) FROM PostHistory
LEFT JOIN Posts
ON Posts.Id = PostHistory.PostId
WHERE PostHistory.UserId = @UserId AND
PostHistory.PostHistoryTypeId >= 4 AND PostHistory.PostHistoryTypeId <= 9

Enter Parameters

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