Questions [on hold]

0

Please login or register to vote for this query.

(click on this box to dismiss)

Emacs

Q&A for those using, extending or developing Emacs

declare @lastupdate datetime
select @lastupdate =  create_date 
from sys.databases
where database_id = db_id()

select [postid] as [Post Link]
from posthistory
where creationdate > dateadd(d, -50, @lastupdate)
and posthistorytypeid = 10 -- close
order by posthistory.creationdate asc

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results