Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SQL Pivot

$
0
0

I have Sample "Table 1",need to be converted as "Table 2"

Table 1

entityname valueadd_exit_flag
apple123add
orange456exit
grapes756exit
lemon859add

 Need result set like ..

Table 2

AddvalueExitvalue
apple123orange456
lemon859grapes756
 

need methodolgy to tranform like this 

in MS SQL 


GOVINDARAJ P


Viewing all articles
Browse latest Browse all 24688

Trending Articles