DECLARE @datefrom datetime = '2012-01-01 00:00:00' DECLAR...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

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

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results