PostHistory List

1

Please login or register to vote for this query.

(click on this box to dismiss)

Reverse Engineering Meta

Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation

DECLARE @PostId int = ##PostId##

select 
creationdate as CDate,
posthistorytypeid as Type,
id as Id,
postid as Connect,
userid as Actor,
comment,
text as Content
from posthistory
where postid in (select id from posts 
                  where id = @postid 
                  or parentid = @postid )
order by posthistorytypeid, creationdate

Enter Parameters

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