Q&A about the site for members of the workforce navigating the professional setting
DECLARE @datefrom datetime = '2012-01-01 00:00:00' DECLARE @dateto datetime = '2012-12-31 12:59:59' SELECT COUNT(*) FROM Users WHERE Users.CreationDate BETWEEN @datefrom AND @dateto