Leszek Gniadkowski Commented 1 Years ago through
Puzzles
specific load data:
declare @i int
--set @i = 10
--set @i = 100
set @i = 1000
truncate table TC80
insert into TC80(GroupId,StartDate,EndDate)
select
1,tl.N,tl.N+1
from tsqlc_Tally tl where tl.N < @i