Q&A about the site for linguists, teachers and students of the Ukrainian language
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