PostHistory List

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

DECLARE @PostId int = ##PostId##

select * from posthistory
where postid in (select id from posts 
                  where id = @postid 
                  or parentid = @postid )
order by creationdate

Enter Parameters

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