Viewing 2 posts - 1 through 2 (of 2 total)
Hi Chris and Allen
Yes the data is aggregated ie 1 record for a row where the copies are 2,3 etc
Ive tried
declare @num_records int
set @num_records = 4
SELECT *
INTO #MyTable
FROM (
SELECT 123,...
August 18, 2016 at 1:31 pm
#1896241
thanks Chris
Its this part
SELECT 123, 1 UNION ALL
SELECT 456, 2 UNION ALL
SELECT 789, 1 UNION ALL
SELECT 789, 2 UNION ALL
SELECT 789, 3
Ive an issue with because my data will come...
August 18, 2016 at 7:35 am
#1896150