Find my revisions

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for programmers

DECLARE @UserId int = ##UserId##

select
 p.Id as [Post Link]
from PostHistory h
inner join Posts p on p.Id = h.PostId
where h.UserId = @UserId and p.OwnerUserId <> @UserId

Enter Parameters

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