Thom A
SSC Guru
Points: 99143
More actions
May 24, 2019 at 1:22 pm
#3646960
What have you tried so far? Have you had a look at PIVOT, or (what many prefer), using a Cross Tab?
PIVOT
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.Larnu.uk
Phil Parkin
Points: 247183
May 24, 2019 at 7:59 pm
#3647109
What would you insert if there are multiple source rows with the same Id? For example
id value
2 20
2 30
Would this require two inserts of 20 and 30, or a single insert of 50 (SUM), 25 (AVG), 20 (MIN) ... or some other aggregate?
nagaraj
SSC Enthusiast
Points: 117
May 25, 2019 at 12:29 am
#3647165
There multipl wont be any scenario like multiple source rows with the same Id in my case
Viewing 3 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply