How many posts were created in 2017?

0

Please login or register to vote for this query.

(click on this box to dismiss)

Parenting

Q&A for parents, grandparents, nannies and others with a parenting role

--Select count(ID) from Posts
--where CreationDate =(select year(CreationDate)as result_year from Posts where result_year=2017);

SELECT GETDATE() 'CreationDate', DATEPART(year,GETDATE()) 'Year Part';

Enter Parameters

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