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: SQL problem...

Re: SQL problem...

From: Noodles <noodles_at_aol.com>
Date: 22 Aug 1998 12:32:18 GMT
Message-ID: <1998082212321801.IAA09967@ladder01.news.aol.com>


Jimmy,

Have you thought of using Dynamic SQL ? ... Then your SQL form code could create the appropriate SQL select statement and and then execute it. Rather than concatenate the output of each select, why not use the UNION operator ?

i.e.
select a,b,c from t where a = 'string1' union
select a,b,c from t where a = 'string2' union
select a,b,c from t where a = 'string3' ...
/

Cliff Received on Sat Aug 22 1998 - 07:32:18 CDT

Original text of this message

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