Questions per day without ID


Please login or register to vote for this query.

(click on this box to dismiss)

Gardening and Landscaping Meta

Q&A about the site for gardeners and landscapers

declare @startDate datetime;
declare @endDate datetime;
declare @days float;

select @endDate = DATEADD(day,-7,GETDATE())
select @startDate = '2011-11-30 19:00:00'
select @days = DATEDIFF(DAY, @startDate, @endDate)

select count(*)/@days from Posts
where PostTypeId = 1
and tags not like '%identify%'
and CreationDate between @startDate and @endDate

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results