Don't touch my junk.

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ebooks

Q&A for ebook publishers and readers

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 to meta site
loading Hold tight while we fetch your results