History-type mystery

1

Please login or register to vote for this query.

(click on this box to dismiss)

PostHistory has several undocumented types.

Stack Overflow

Q&A for programmers

SELECT 
    ph.PostHistoryTypeId,
    ht.Name,
    COUNT (ph.PostHistoryTypeId) AS [Count]
FROM
    PostHistory         ph
LEFT JOIN
    PostHistoryTypes    ht ON ph.PostHistoryTypeId = ht.id
GROUP BY
    ph.PostHistoryTypeId,
    ht.Name
ORDER BY
    ph.PostHistoryTypeId

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results
:records returned in :time ms:cached