datastage通过Pivot Enterprise stage实现行转列

时间:2021-12-04 15:48:30
【文件属性】:
文件名称:datastage通过Pivot Enterprise stage实现行转列
文件大小:24KB
文件格式:DSX
更新时间:2021-12-04 15:48:30
datastage  Pivot Enterp 通过datastage实现输入数据如下: REPID last_name Jan_sales Feb_sales Mar_sales 100 Smith 1234.08 1456.80 1578.00 101 Yamada 1245.20 1765.00 1934.22 输出数据如下: REPID last_name Q1sales Pivot_index 100 Smith 1234.08 0 100 Smith 1456.80 1 100 Smith 1578.00 2 101 Yamada 1245.20 0 101 Yamada 1765.00 1 101 Yamada 1934.22 2

网友评论