Return-Path: <root@fatcity.cts.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id g8UFx8j11526
 for <oracle-l@orafaq.net>; Mon, 30 Sep 2002 10:59:13 -0500
X-ClientAddr: 209.68.248.164
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id g8UFx8e11519
 for <oracle-l@orafaq.net>; Mon, 30 Sep 2002 10:59:08 -0500
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id GAA04152;
 Mon, 30 Sep 2002 06:42:01 -0700 (PDT)
Received: by fatcity.com (26-Feb-2001/v1.0g-b72/bab) via UUCP id 004DC4B6; Mon, 30 Sep 2002 05:48:23 -0800
Message-ID: <F001.004DC4B6.20020930054823@fatcity.com>
Date: Mon, 30 Sep 2002 05:48:23 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Mercadante, Thomas F" <NDATFM@labor.state.ny.us>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Mercadante, Thomas F" <NDATFM@labor.state.ny.us>
Subject: RE: Does the case of an Oracle query statement affect query perfo
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 72; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: multipart/alternative;	boundary="----_=_NextPart_001_01C2687F.B0C1DAE8"
------_=_NextPart_001_01C2687F.B0C1DAE8
Content-Type: text/html;
 charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4912.300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=882484212-30092002><FONT face=Arial color=#0000ff 
size=2>Raj,</FONT></SPAN></DIV>
<DIV><SPAN class=882484212-30092002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=882484212-30092002><FONT face=Arial color=#0000ff size=2>Do you 
have any test cases or white papers to support your statement?&nbsp; Especially 
the part about </FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=882484212-30092002><FONT face=Arial color=#0000ff size=2>"<FONT 
face="Courier New">if you mix-n-match that will make Oracle do more 
work."</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=882484212-30092002><FONT face="Courier New" color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=882484212-30092002><FONT face="Courier New" color=#0000ff 
size=2>never heard of this before and I am interested if it is 
true.</FONT></SPAN></DIV>
<P><FONT face=Arial size=2>Tom Mercadante</FONT> <BR><FONT face=Arial 
size=2>Oracle Certified Professional</FONT> </P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Jamadagni, Rajendra 
  [mailto:Rajendra.Jamadagni@espn.com]<BR><B>Sent:</B> Monday, September 30, 
  2002 8:33 AM<BR><B>To:</B> Multiple recipients of list 
  ORACLE-L<BR><B>Subject:</B> RE: Does the case of an Oracle query statement 
  affect query perfo<BR><BR></FONT></DIV>
  <DIV><SPAN class=210512411-30092002><FONT face="Courier New" color=#0000ff 
  size=2>As long as you stick to either (a) or (b) you will be okay ... if you 
  mix-n-match that will make Oracle do more work.</FONT></SPAN></DIV>
  <DIV><SPAN class=210512411-30092002><FONT face="Courier New" color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=210512411-30092002><FONT face="Courier New" color=#0000ff 
  size=2>Raj</FONT></SPAN></DIV>
  <DIV><SPAN class=210512411-30092002></SPAN><FONT face="Courier New" 
  size=2>______________________________________________________</FONT></DIV>
  <P align=left><FONT face="Courier New" size=2>Rajendra 
  Jamadagni&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MIS, ESPN Inc.</FONT></P>
  <P align=left><FONT face="Courier New" size=2>Rajendra dot Jamadagni at ESPN 
  dot com</FONT></P>
  <P align=left><FONT face="Courier New" size=2>Any opinion expressed here is 
  personal and doesn't reflect that of ESPN Inc. </FONT></P>
  <P align=left><FONT face="Courier New" size=2>QOTD: Any clod can have facts, 
  but having an</FONT> <FONT face="Courier New" size=2>opinion is an</FONT> 
  <FONT face="Courier New" size=2>art!</FONT></P>
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
    size=2>-----Original Message-----<BR><B>From:</B> Shantanu Datta 
    [mailto:shantanu.datta@hurix.com]<BR><B>Sent:</B> Monday, September 30, 2002 
    3:58 AM<BR><B>To:</B> Multiple recipients of list 
    ORACLE-L<BR><B>Subject:</B> Does the case of an Oracle query statement 
    affect query performance?<BR><BR></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=730284506-30092002>Hi,</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=730284506-30092002>&nbsp;&nbsp;&nbsp; Pardon me for such a naive 
    question, coz I am a novice when it comes to Oracle. This is basically got 
    to do with how Oracle parses a query.</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=730284506-30092002></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=730284506-30092002>&nbsp;&nbsp;&nbsp; Consider the following queries: 
    </SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=730284506-30092002></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=730284506-30092002>a)&nbsp;&nbsp;&nbsp; SELECT column1, column2 FROM 
    table WHERE column0 = 5;</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=730284506-30092002></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=730284506-30092002>b)&nbsp;&nbsp;&nbsp; SELECT COLUMN1, COLUMN2 FROM 
    TABLE WHERE COLUMN0 =5;</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=730284506-30092002></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=730284506-30092002>&nbsp;&nbsp;&nbsp; Scenario 1: I use the naming 
    convention a) for&nbsp;ALL my queries</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=730284506-30092002></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=730284506-30092002>&nbsp;&nbsp;&nbsp; Scenario 2: I use the naming 
    convention b) for&nbsp;ALL my queries</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=730284506-30092002></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=730284506-30092002>&nbsp;&nbsp;&nbsp; Will there be any difference in 
    the execution time of the same queries in Scenario 1 vs 
    2?</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2><SPAN 
    class=730284506-30092002>&nbsp;&nbsp;&nbsp; </SPAN></FONT></DIV>
    <DIV><FONT size=2><FONT face=Arial><SPAN class=730284506-30092002>Thanx in 
    advance</SPAN>,</FONT></FONT></DIV>
    <DIV><FONT face=Arial size=2>Shantanu.</FONT></DIV>
    <DIV><FONT face=Arial size=2>--------------</FONT></DIV>
    <DIV>&nbsp;</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C2687F.B0C1DAE8--
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mercadante, Thomas F
  INET: NDATFM@labor.state.ny.us

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@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).

