I've found myself needing this functionality twice for distinct
reasons in the last month. I had used both an original recursive SQL
and used Knut's methodology to get the results that I wanted.
I was thinking that this sort of looks like something that could
possibly written as a column function, much like SUM, or AVG, except
that it would operate on text instead of numerics. Does it seem
reasonable that this could be done as an SQL function or a UDF? Before
I started committing my free hours to such a project, I thought I
would check if any of the database gurus out here had ever
contemplated it and rejected it because of its complexity or
unfeasibility.
Evan
"Benjamin Schöneck" <benjamin.schoeneck@dialog-edv.de> wrote in message news:<br3tmv$mf3$04$1@news.t-online.com>...[color=blue]
> Thanks a million. It was exactly what I needed!
> Works out perfectly!!!
>
>
> "Lee Dilworth" <lee_dilworthnospam@hotmail.com> schrieb im Newsbeitrag
> news:br2i1h$27bnk8$1@ID-118488.news.uni-berlin.de...[color=green]
> > you need to use recursive SQL todo this....Knut posted a good example of
> > this in action..easily adapted to return your desired result, see this
> > thread:
> >
> >[/color]
>
http://groups.google.com/groups?hl=...hreadm=bl15kd%2[color=green]
> >[/color]
> 41uj%241%40fsuj29.rz.uni-jena.de&rnum=2&prev=/groups%3Fq%3Dconcatenate%2Brow[color=green]
> >[/color]
> s%2Bgroup:comp.databases.ibm-db2%2Bgroup:comp.databases.ibm-db2%2Bgroup:comp[color=green]
> >[/color]
> .databases.ibm-db2%2Bgroup:comp.databases.ibm-db2%2Bgroup:comp.databases.ibm[color=green]
> > -db2%26hl%3Den%26lr%3D%26ie%3DUTF-8%26safe%3Doff%26scoring%3Dd%26selm%3Dbl[/color]
> 15[/color]