Viewing 2 posts - 1 through 2 (of 2 total)
check out connectionstrings.com
August 31, 2013 at 11:49 am
#1646581
I would avoid the loop, create a temp table named #temp and insert the values of the Years from 2000 to 2010.
I would then do your insert like this:
Insert Into...
August 31, 2013 at 10:01 am
#1646574