Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: concatenate the same column with mulitple rows
William Robertson wrote:
> On Dec 1, 4:33 am, sheridany <sherid..._at_yahoo.com> wrote:
> > In 10g you can use the (apparently undocumented) aggregate function > wm_concat (part of the wmsys schema used for Workspace Management, but > there is a public synonym). I think it's Tom Kyte's "stragg" > internally. It uses a comma as the separator though.
WM_CONCAT exists as both a function and a synonym.
In combination with TRANSLATE the commas disappear as demonstrated here: http://www.psoug.org/reference/undocumented.html#uwmc
-- Daniel A. Morgan Oracle Ace Director & Instructor University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Sun Dec 02 2007 - 15:51:01 CST
![]() |
![]() |