DECLARE @i INT = 1, @maxLimit INT = 1000000 WHILE (@i <= @maxLimit) BEGIN PRINT(@i) SET @i += 1 END
Login to post response