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 -> Maximun number of unions in a single query

Maximun number of unions in a single query

From: Andreas Sheriff <spamcontrol_at_iion.com>
Date: Mon, 6 Jun 2005 14:59:31 -0700
Message-ID: <9H3pe.5904$tr.1735@fed1read03>


Does anyone know the maximum number of unions you can use in a SQL query?

For example:

select 1 from dual union all
select 2 from dual union all
select 3 from dual union all
...

select [x-2] from dual union all
select [x-1] from dual union all
select [x] from dual;

What is the upper limit of x?

-- 
Andreas
Oracle Certified DBA and PL/SQL Developer


"If you don't eat your meat, you cannot have any pudding.
"How can you have any pudding if you don't eat your meat?!?!"
--- WARNING: DO NOT REPLY TO THIS EMAIL Reply to me only on this newsgroup
Received on Mon Jun 06 2005 - 16:59:31 CDT

Original text of this message

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