• Thanks! I hope this helps with a problem we're currently having.

    Script requires BIGINT, not INT, here:

    @iBatchStart AS BIGINT,

    @iBatchEnd AS BIGINT,