Uppercase and Lowercase Queries

Is there any performance difference if i execute sql statements with mixed case and uppercase. what will be the fastest and why? please explain? THks in advance.
Raj

do we all agree that If oracle has to reparse the statement (that is it is not
found amoung the shared sql) then performance could be adversely affected?
just a thought...have a look at v$sqlarea
from session A as system
SQL> alter system flush shared_pool;
from session b as my user
SQL> SELECT sysdate FROM dual;
from session A as system (find parsing_user_id in dba_users table (user_id))
SQL> SELECT SQL_TEXT FROM V$SQLAREA WHERE PARSING_USER_ID = 28;
SQL_TEXT
SELECT sysdate FROM dual
from session b as my user execute same statement case and all
SQL> SELECT sysdate FROM dual;
from session A as system
SQL> SELECT SQL_TEXT FROM V$SQLAREA WHERE PARSING_USER_ID = 28;
SQL_TEXT
SELECT sysdate FROM dual
from session b as my user
SQL> SELECT SYSDATE FROM DUAL;
from session A as system
SQL> SELECT SQL_TEXT FROM V$SQLAREA WHERE PARSING_USER_ID = 28;
SQL_TEXT
SELECT sysdate FROM dual
SELECT SYSDATE FROM DUAL;
......conclusions?
looks like we now have another copy of our select
did oracle hardparse the 2nd query?

Similar Messages

  • Site Web Analytics Report Showing Users Logged in as Both UPPERCASE and lowercase domains (SP Foundation 2010)

    When looking at the Site Analytics Report in SP Foundation 2010, I see that many users (though not all it appears) have been logged under the 'Top Visitors' section as both "DOMAINNAME\username" as well as "domainname\username".  This makes it hard
    to get actual counts of hits the visitors have made since they show up in two places on the report.  In my case, I always log in using the same credentials (more recently I have had permissions upgraded so log in is automatic), yet I still see that I
    get posted for different usage numbers under the uppercase and lowercase instances.  Does anyone know why this would be occurring?

    Even i am facing similar kind of problem. Some of my users are displayed as DomainName\ID while some are displayed as Lastname, Firstname. I think we need to know the location where these reports are stored.

  • When I get an i.m on ichat it mixes up the letters with uppercase and lowercase how do I fix that?

    When I get an i.m on ichat it mixes up the letters with uppercase and lowercase how do I fix that?

    Hi,
    Depends.
    Is it some sort of Incoming Override you have or their Outgoing IM Style ?
    Go to the iChat Menu > Preferences > Alerts
    Select Message Received in the top item/Drop down.
    When selected check that the Apple Script option is Not On
    If it is is the AppleScript Selected the Mix Message Case one ?
    This is iChat 5 only (this particular AppleScript)
    If the Buddy has it set against Send Message they Output Mixed Case IMs so it could be from the other end.
    8:37 PM      Saturday; May 7, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
    , Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Whether it  ispossible to set  same coupon code  in uppercase and lowercase

    hi,
    whether it is possible to set same coupon code in both uppercase and lowercase??
    If yes ,suggest some points,

    i think your requirement is that user can enter either in small , caps or mixed , but you want him to be able to redeem coupon :
    If yes ,
    then instead of creating multiple coupons , create them in small case .
    create your custom class MyClaimableTools extending ClaimableTools and override the method getClaimableItem(String couponId) ,
    convert the couponId to small case and call super.Also create the properties file for ClaimableTools and give $class as MyClaimableTools.
    ```
    Praveer

  • Text-transform support for "capitalize" "uppercase" and "lowercase"

    Is there a way to apply text-transform for "capitalize" "uppercase" and "lowercase"?

    Thanks Zak, this is good to know, but still doesn't address the issue when it comes to desiging the menu.
    I can open each page individually and make the menu title uppercase and the page title as title case, but as you will know a word in all uppercase will take up a bigger footprint than one, or two, in title case. This means I have to edit all the main nav pages first, individually, then go back to the master page to move the nav widget into place as it has grown wider.
    If we were allowed to apply the style for the menu as uppercase, as you can understand, it would take hardly any time to construct the menu and have the page titles as a designer wanted it. As it is, one has to go into each page and edit them ALL manually.
    Also, why is the change case under the EDIT dropdown? As it applies to Characters, it would make more sense to put it within the Charcter pannel, so a designer could choose all the options for a style in one go. Just a thought
    Cheers
    Glynn

  • Chracter uppercase and lowercase

    hi friends i want to format text to upper and lower in procedure like
    GÜNLÜK MALZEME DAĞİTIMI. => Günlük malzeme dağitımı. (so natinol character I=>ı)
    how can we do it?
    thanks

    hi
    we can use a model clause....
    I remember someone using model clause in this way.....but not able to get that post....took sometime to construct it.
    with tab as (
    select 'AİIB BBB CCC. DİDDD EEEE.' col from dual
    select col,newcol from
    tab
    model
    partition by (rownum rnum)
    dimension by (0 dim)
    measures(col, cast(null as varchar2(4000)) word,cast(null as varchar2(4000)) newcol)
    rules iterate (1000) UNTIL (word[0] IS NULL)
      word[0] = REGEXP_SUBSTR(col[0], '[^.]+', 1, ITERATION_NUMBER + 1),
      newcol[0] = case when ITERATION_NUMBER =0
                        then
                          newcol[0]||regexp_substr(word[0],'[[:space:]]*[[:alpha:]]',1,1)||lower(regexp_substr(ltrim(word[0]),'([[:alpha:]]|[[:space:]])+',2,1))
                        else
                          newcol[0]||'.'||regexp_substr(word[0],'[[:space:]]*[[:alpha:]]',1,1)||lower(regexp_substr(ltrim(word[0]),'([[:alpha:]]|[[:space:]])+',2,1)) end
    )If your logic is such that names are separated by fullstop and first letter of each name is capital and others to be small then above logic works.
    Ravi Kumar

  • Roles and Object queries tab not visible in MBO attribute properties

    Hi,
    We have installed the SUP Personal developer edition 2.0 on a windows 2008 server. I am trying to create a sample application for getting the list of sales orders by using the SAP BAPI. Once I have the MBO in place, I see that I cannot view the 'Roles' and 'Object Queries' tabs in the 'Attributes' section of the MBO properties.
    Does anyone know why this happens? Is it due to configuration issues? Do help me out as we're trying to get a demo working.
    Thanks & Regards,
    Vaishnavi

    Hi Vaishnavi,
    Check whether you have selected "Advanced" mode . You should be able to see it.
    Regards,
    Viju

  • Checking sender and receiver queries after setting up in rsbbs

    Hi,
    After setting up sender and receiver queries in RSBBS, how can we find out which query is sender and receiver query, If we know any query, can we know whether it is sender or receiver query. then, based on this can we find out sender query if it receiver query and can we find out the receiver query if it is sender query.

    Hi Venkat,
    We have these tables to know the diffenent receiver queries of a sender and different senders for a receiver RSBBSQUERY & RSBBSQUERYDIR.
    Thanks,
    Sathish.

  • Error: Common entries are not permitted for plan queries and input queries

    Hi,
    I have a 2 selections in the column struct:
    1. year = 2005, version = actual
    2. year = 2006, version = plan, marked as data can be changed using user entry or planning function
    row has posting periods from 1-12
    in the workbook I have inserted this query in the workbook in analysis grid. it runs good.
    now i added a button and assigned planning function to it. this planning function copies 2005, actuals to 2006, plan.
    when i execute the workbook and hit this button, it gives me following error:
    "Common entries are not permitted for plan queries and input queries"
    please can anyone provide me assistance with this issue.
    thanks,
    sam

    when i go to diagnosis it displays following:
    Diagnosis
    InfoProvider ZIP_PLAN2 must be described in this application by both a plan query and by a input-ready query, which is directly defined on the InfoProvider ZIP_PLAN2.
    System Response
    This is not permitted.

  • Mountain Lion Server - Folder names intermittently change between Upper and Lowercase names on some user's iMacs

    Hi,
    Sorry if I'm posting in the wrong group, but I couldn't find a Mountain Lion server specific group.
    I have a new Mac Mini Server running 10.5.8 that serves Mac only users. The Mac Mini has a 4tb Promise Pegasus RAID attached via thunderbolt. Today, some of the users on the network reported that a folder on the RAID was quickly alternating displaying it's sub-folders as all capital letters then upper and lowercase - I witnessed this and it happened 2-3 times a second. I have run a propogate permissions fix on the folder, then the whole volume from within Server App and also copied the contents of this folder to my Mac, then I deleted the original from the server and created a brand new folder with the correct name and copied the contents back.
    The problem still persists. Server App does not report any issues and other folders don't exhibit this behaviour. I've looked to see if there are any weird characters in folder names that would do this. The volume is shared via AFP only (SMB and WEBdav are off).
    Any ideas as to what could be going on?
    Thanks in advance!

    Hi.
    I solved this problem. I fixed permissions on the Mac's that the users were using to access the server and this has fixed the problem. The server folder giving the problems had many nested folders totalling over 5000 items inside and this seemed to corrupt the permissions on the user's macs.
    Hope this helps anyone with similar issues.

  • Using wildcard parameters for MDX and RSQL queries

    Hi,
    Passing parameters to MDX and RSQL queries works,but is there a way we can pass wildcard(%) parameters to MDX and RSQL
    Thanks,
    Hari Devarapalli

    Hari -- Try this Instr function -
    http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.dwe.cubemdx.doc/mdx_instr.html
    Thanks,
    Venkat

  • Help on analytical and hiererarchial queries

    Hi,
    could any one please throw some light on the usage of analytical and hiererchial queries please.

    Your question is very generally. I suggest you take a look at the oracle dokumentation first, e.g. in the Oracle SQL Language Reference:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/queries003.htm#i2053935
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions004.htm#i81407

  • Differentiate between Simple, Medium and Complex Queries.

    Hi Gurus,
    I am a Tech. Architect on this new project. I would like to know how to differentiate between Simple, Medium and Complex Queries in BW because I need this info to work on the Estimates. Has this differentiation got anything to do with the Backend config also?
    Thanks in Advance.
    Chandu.

    Hi
    You need to understand the requirements and consider the following before you classify........
    1) Queries that are based on multiple key figures--which may result in cell definition.
    2) Queries with complex calculations.
    3) Queries that are based on Variable Exits
    Regards
    Srinivas Bandi

  • Spatial Tables and Remote Queries

    Hi Experts,
    Can anyone explain me when and where to use Spatial Tables and Remote Queries with some examples.
    Thanks in advance.

    Hi,
    there are some nice demos from Andrejus:
    http://andrejusb.blogspot.com/search/label/Spatial
    Hope it helps,
    Friedhold

  • In which sequence are queries and sub-queries executed by the SQL Engine

    In which sequence are queries and sub-queries executed by the SQL Engine?
    Which is correct ?
    a. primary query -> sub query -> sub sub query and so on
    b. sub sub query -> sub query -> prime query
    c. the whole query is interpreted at one time
    d. there is no fixed sequence of interpretation, the query parser takes a decision on the fly

    In which sequence are queries and sub-queries executed by the SQL Engine?
    Which is correct ?
    a. primary query -> sub query -> sub sub query and so on
    b. sub sub query -> sub query -> prime query
    c. the whole query is interpreted at one time
    d. there is no fixed sequence of interpretation, the query parser takes a decision on the fly
    Hi, below may help you understanding simple subquery & correlated subquery
    refer :
    http://sqlmag.com/t-sql/t-sql-starters-simple-and-correlated-subqueries
    a) if it is correlated subquery
     A correlated subquery is one that depends on a value in the outer query. In programming terms, you pass the subroutine an argument, then the subroutine evaluates the query and returns a result. You move on to the next record and repeat the process. The
    net effect is that the subquery runs once for every row in the main query; this situation is inefficient.
                                  A possible alternative is to rewrite the correlated subquery as a join. However,
    some situations require a subquery. Eg- IN(with outer table refernce)
    so  main query -> subquery
    b) if it is simple subquery
    A subquery is a query that SQL Server must evaluate before it can process the main query, Eg- IN(with out outer table refernce)
    so subquery-> main query
    c) correlated query interpreted row by row with subquery, while subquery is interpreted at one time(outer table and inner table)
    d) in most case it depends on the whether it is correlated subquery or simple subquery
    Thanks
    Saravana Kumar C

Maybe you are looking for

  • Multiple Faces for the same person

    I found this unanswered archived post, which is expressing exactly the same problem I'm having... http://discussions.apple.com/thread.jspa?threadID=2099862 When tagging photos there are multiple entries for the same person listed. In particular for t

  • Tiff images not display properly

    After installing iPhoto 6, none of the 1600 files in .tiff format imported via a Lexmark scanner are showing up correctly. (They worked perfectly well in iPhoto 5) I get a blurred scribbled squashed image a little like a TV channel that hasn't been s

  • Database link from Oracle DBMS 1g to MS SQL Server

    Hi, I would need to know, if there is some out of the box functionality from the Oracle DBMS 11g where I can connect to MS SQL Server (2005/2008)? If there is good tutorial on how to do it, I would very much appreciate it. Thanks! Dejan

  • Overlay a component with another component?

    Can you overlay a component with PopUp-like component that doesn't overlay the entire Application? I have a dashboard application that displays smaller sub-components that each call out to a WebService to retrieve data. I am able to create a PopUp fo

  • Simple screen question

    How do I bind the following actions in screen? - New screen - Close screen - Next screen - Previous screen I'm probably being a bit of a newb here, but I couldn't find anything on google/this forum.