Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: SQL question
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C2632E.67656960"
------_=_NextPart_001_01C2632E.67656960
Content-Type: text/plain;
charset="iso-8859-1"
Maybe I think differently, I usually let server think about size or the number of clauses ...
if you have codes in a table what's wrong with ...
select distinct code
from my_code_table
minus
select distinct code
from my_data_table
/
???
Raj
QOTD: Any clod can have facts, but having an opinion is an art!
-----Original Message-----
Sent: Monday, September 23, 2002 2:43 PM
To: Multiple recipients of list ORACLE-L
Raj,
It wasn't a question of coding the sql to create all of the unions, but hitting a limitation on the number of unions in the sql.
But, thanks to all for the effort.
steve
------_=_NextPart_001_01C2632E.67656960
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: SQL question</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Maybe I think differently, I usually let server think about size or the number of clauses ...</FONT>
</P>
<P><FONT SIZE=2>if you have codes in a table what's wrong with ...</FONT>
</P>
<P><FONT SIZE=2>select distinct code</FONT>
<BR><FONT SIZE=2>from my_code_table</FONT>
<BR><FONT SIZE=2>minus</FONT>
<BR><FONT SIZE=2>select distinct code</FONT>
<BR><FONT SIZE=2> from my_data_table</FONT>
<BR><FONT SIZE=2>/</FONT>
</P>
<P><FONT SIZE=2>???</FONT>
<BR><FONT SIZE=2>Raj</FONT>
<BR><FONT SIZE=2>______________________________________________________</FONT>
<BR><FONT SIZE=2>Rajendra Jamadagni MIS, ESPN Inc.</FONT>
<BR><FONT SIZE=2>Rajendra dot Jamadagni at ESPN dot com</FONT>
<BR><FONT SIZE=2>Any opinion expressed here is personal and doesn't reflect that of ESPN Inc. </FONT>
<BR><FONT SIZE=2>QOTD: Any clod can have facts, but having an opinion is an art!</FONT>
</P>
<BR>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Steven Haas [<A HREF="mailto:steven.haas_at_snet.net">mailto:steven.haas_at_snet.net</A>]</FONT>
<BR><FONT SIZE=2>Sent: Monday, September 23, 2002 2:43 PM</FONT>
<BR><FONT SIZE=2>To: Multiple recipients of list ORACLE-L</FONT>
<BR><FONT SIZE=2>Subject: RE: SQL question</FONT>
</P>
<BR>
<P><FONT SIZE=2>Raj,</FONT>
</P>
<P><FONT SIZE=2>It wasn't a question of coding the sql to create</FONT>
<BR><FONT SIZE=2>all of the unions, but hitting a limitation on</FONT>
<BR><FONT SIZE=2>the number of unions in the sql.</FONT>
</P>
<P><FONT SIZE=2>But, thanks to all for the effort.</FONT>
</P>
<P><FONT SIZE=2>steve</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C2632E.67656960--
------=_NextPartTM-000-5709978b-cf20-11d6-a0df-00508bf7dc0f
Content-Type: text/plain;
name="ESPN_Disclaimer.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="ESPN_Disclaimer.txt"
********************************************************************This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.*********************************************************************2
------=_NextPartTM-000-5709978b-cf20-11d6-a0df-00508bf7dc0f--
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Jamadagni, Rajendra INET: Rajendra.Jamadagni_at_espn.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Mon Sep 23 2002 - 14:28:29 CDT
![]() |
![]() |