tmp query 1

0

Please login or register to vote for this query.

(click on this box to dismiss)

CiviCRM

Q&A for administrators and users of the CiviCRM Constituent Relationship Management software

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)

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results