Pivot with null values


hi 

from entry data in table1 below need pivot these datas ssis table2 below

the number of null values variable , number of  pivoted columns = 5

thx help 

table1

col1 col2

a 1

b 2

c 3

null null

null null

table2

a b c d e

1 2 3 null null

does not pivotablee.g. 1 , 2 on 1 row , 3 not

where d , e were?


arthur my blog



SQL Server  >  SQL Server Integration Services



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........