Say, I have a table with 3 columns
===============
Col1, Col2, Col3
==============
r11, r12, r13
R21,r22,r23
R31,r32,r33
:
:
(rows)
:
I want to create a view that looks as follows
========================================================
Col1_2_3, Col1_2, Col2_3, col1, col2, col3
========================================================
R11_r12_r13 r11_r12 r12_r13, r11, r12, r13
R21_r22_r23 r21_r22 r22_r23, r21, r22, r23
:
:
The idea being that col_1_2 appends the strings in columns 1 & 2, col2_3 for columns 2 & 3 and so on...How would I do that in a recursive manner so that it works for tables with any number of columns
Can anyone please help

Creating a hierarchical view with recursion
MrBrilliant
rpskumar
This is awesome! This looks like it might be what I am looking for.
Let me try this and get back to you...
regards
Flack
Foob:
What you seem more interested in is a more general method. If you will browse this msdn you should find some interesting posts. In addition, I have a couple of examples here. I am not sure if you are more interested in the faster code or the more readable code. Is this in the ballpark
Dave