Don't touch my junk.

0

Please login or register to vote for this query.

(click on this box to dismiss)

Amateur Radio

Q&A for amateur radio enthusiasts

SELECT count (*)
  -- 'http://stackoverflow.com/posts/' + Convert(NVarchar(10), edit.PostId) + '/revisions|Revision History' AS [Revision Link]
  -- edit.PostId as [Post Link]
  ---count (distinct prev.RevisionGUID) as Revision
FROM PostHistory edit        
WHERE userId = ##UserId:int##
  and PostHistoryTypeId in (2, 5)

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results