I'm using SSIS and i want my string to become a table. The String i use comes from a database and i want to extract it and make another table which is instead of a string, it should be in a proper table. I was wondering what transformation should i use and how.
This is my example string
Column1:Row1 | Column2:Row2 | Column3:Row3 and so on..
And the output should be a table which is the column1 is the column and his data is the row1 and so on...
Column1 Column2 Column3
Row1....... Row2......Row3
(I'm not quite sure if SSIS can do that, but i think it can xD)
UPDATE
Another example string: (What if the string has 2 headers but differ in value?)
"Column1:Row1 | Column2:Row2 | Column3:Row3 | Column1:Row4|"
OUTPUT:
Column1 Column2 Column3
Row1....... Row2......Row3
Row4........Null.........Null
Any help is appreciated thanks!