如何在SSIS中将数据从列更改为行

时间:2019-07-11 15:42:46

标签: sql-server ssis etl unpivot

我需要通过SSIS数据流将下面的列数据转置为行数据

PP001   ADO002  ASN003  NIC001  NX002   HNL004  ABC001  TTD004
5   13  5   8   492 2   1   5

enter image description here

enter image description here

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:1)

这很简单。

overall

您要做的就是将所有列添加到“ Unpivot”中,您就完成了。

Unpivot