Greetings,
I have to modify an existing server job that does a horizontal pivot (columns to rows) using a pivot stage. I haven't needed to use this stage much in the past and I wanted someone to explain one of the parameters that can be set. The parameter is called 'group' and it is a column that can be set to Yes for one or more columns of the output side of a pivot.
I have read the pivot.pdf and it doesn't even show this column?? (The only context help shows it, but doesn't say anything about it) I see the key column and I assume that is the column that determines which columns are constant.
So...can someone please answer these:
1) What is the group column used for? when should it be used?
2) Is the 'Key' column the actual determiner of which columns are constant in the pivot output?
Thanks a bunch everyone!
Pivot stage Group column. what is it for?
Moderators: chulett, rschirm, roy
-
crogerson@dbworks-tech.co
- Charter Member

- Posts: 2
- Joined: Thu Mar 10, 2005 1:56 pm
Re: Pivot stage Group column. what is it for?
Greetings! And welcome. :D
One of the wonders of using a common 'widget' - not all columns are used in all circumstances. In this particular stage, that column has no function.
Yup.
1) What is the group column used for? when should it be used?
One of the wonders of using a common 'widget' - not all columns are used in all circumstances. In this particular stage, that column has no function.
2) Is the 'Key' column the actual determiner of which columns are constant in the pivot output?
Yup.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
crogerson@dbworks-tech.co
- Charter Member

- Posts: 2
- Joined: Thu Mar 10, 2005 1:56 pm