Viewing 3 posts - 1 through 3 (of 3 total)
August 9, 2018 at 8:38 am
August 9, 2018 at 5:07 am
Rather use a recursive cte to create your numbers.
WITH cte AS (
SELECT 1 as Num
UNION ALL
SELECT Num + 1 FROM cte WHERE...
August 9, 2018 at 2:20 am
Viewing 3 posts - 1 through 3 (of 3 total)