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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Query..

Re: Query..

From: DA Morgan <damorgan_at_psoug.org>
Date: Sat, 18 Mar 2006 08:01:06 -0800
Message-ID: <1142697641.947058@yasure.drizzle.com>


Carlos wrote:
> Take a look at UNION ALL
>
> HTH.
>
> Carlos.

Though you could make it a lot easier by fixing the table as it is quite poorly designed. The table you describe should have only three columns.

CREATE TABLE demo (
name VARCHAR2(30),
lang VARCHAR2(1),
val NUMBER(3));

Think vertically ... not horizontally.

Every line of your code will break if you add another column the way you have it designed.

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Sat Mar 18 2006 - 10:01:06 CST

Original text of this message

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