Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: display rows beside each-other

Re: display rows beside each-other

From: DA Morgan <damorgan_at_x.washington.edu>
Date: Fri, 15 Apr 2005 06:44:35 -0700
Message-ID: <1113572451.191343@yasure>


Ronald wrote:

> hi, thanks.
>
> It's only for a max of 2 or 3 records (about 30 char long total.)
>
> But so far I see this only works on plsql isn't it ?
>
> Is there also a sql (beside plsql) solution ?
>
> Ronald.

It can be done with both DECODE and CASE. http://www.psoug.org
click on Morgan's Library
click on DECODE and look at the pivot table demos

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Fri Apr 15 2005 - 08:44:35 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US