Q&A for information security professionals
Select top 500000 Id, CreationDate From Users where DATEPART(Year, CreationDate) >= 2019 and DATEPART(Year, CreationDate) < 2020 order by convert(date, CreationDate)