Jump to content

Data Experts Help Needed Please Help Me Version 2


Recommended Posts

Posted

recently i came up this one question few of db'ians helped

but as business is saying performance will be slow

they suggested in other way

a b
1 aaa| bbb| ccc|



output should be


a b1 b2 b3
1 aaa bbb cccc

i have seen like google

canyou please help me how we can we convert a column in to multiple columns

there might be 150 codes all 150 codes should split in to 150 columns

Posted

clarity please..

Posted

[color=#282828][font=helvetica, arial, sans-serif]input [/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]a b[/font][/color]
[color=#282828][font=helvetica, arial, sans-serif]1 aaa| bbb| ccc|[/font][/color]



[color=#282828][font=helvetica, arial, sans-serif]output should be[/font][/color]


[color=#282828][font=helvetica, arial, sans-serif]a b1 b2 b3[/font][/color]
[color=#282828][font=helvetica, arial, sans-serif]1 aaa bbb cccc[/font][/color]

[font="helvetica, arial, sans-serif"][color="#282828"] [/color][/font]

[color=#282828][font=helvetica, arial, sans-serif]canyou please help me how we can we convert above B column in to multiple columns (b1,b2,b3)[/font][/color]

Posted

Do you know how many pipes will be there in column b?

×
×
  • Create New...