Q&A for students, teachers, polyglots, and anyone interested in the techniques of second-language acquisition
DECLARE @offset int = ##offset## DECLARE @step int = 10000 SELECT Id, PostId, UserId, CONVERT(float, CreationDate) FROM Comments WHERE Comments.Id BETWEEN (@offset*@step) AND ((@offset+1)*@step-1)