Hi Noel,
I have forgotten to write several things:
DECLARE @End int SET @End = @Start - 1
And to put these two lines before the existing SELECT and to replace in your query the [%0] by @Start and [%1] by @End.
But, you'll surely would have done it by yourself
Regards,
Eric