Vertical pivot
Posted: Mon Dec 05, 2005 9:41 pm
Hi
I have a vertical pivot requirement.
Table1
col1 col2
X 2
X 3
X 4
Y 1
Y 2
Table2
col1 col2 col3 col4
X 2 3 4
Y 1 2 0
If the values in the first col1 are equal then the corresponding values in
col2 then should be mapped to table2 cloumns 2,3,4. If no values are found then it should be mapped with 0.
Please suggest.
Bob
I have a vertical pivot requirement.
Table1
col1 col2
X 2
X 3
X 4
Y 1
Y 2
Table2
col1 col2 col3 col4
X 2 3 4
Y 1 2 0
If the values in the first col1 are equal then the corresponding values in
col2 then should be mapped to table2 cloumns 2,3,4. If no values are found then it should be mapped with 0.
Please suggest.
Bob