SQL keywords. lower or upper case?

Hi all!
The plsql parser does any special treatment to sql keywords, e.g, transform all to upper case, before doing internal processing? Same question for SQL scripts/querys!
Thanks,
Rui Rodrigues

Even if there is I'm quite sure any redundant select sysdate/user from dual will outperform all yoctoseconds you'll get.
The other factor for peformance to use some conventions of course is not to flood shared pool with statements that differ just in case and/or spaces for example:
SQL> select user from dual;
USER
SYS
SQL> select USER from dual;
USER
SYS
SQL> SELECT user FROM dual;
USER
SYS
SQL> select SQL_TEXT, SQL_ID, ADDRESS, HASH_VALUE from v$sql
  2  where upper(sql_text) = 'SELECT USER FROM DUAL';
SQL_TEXT
SQL_ID        ADDRESS  HASH_VALUE
select USER from dual
658001za01gf9 68351148 3556818377
SELECT user FROM dual
9rwkva5jwdkfj 6BA2CBE8 1673972177
select user from dual
ahc9t761kxw30 6BAD3E70 2200891488Gints Plivna
http://www.gplivna.eu

Similar Messages

  • Lower and upper case repair

    I have a macbook air. It felt down from my hand on its corner and has damaged. The up-left corner is chamfered like 0.5 cm on both lower and upper cases. I would like to know what can I do to repair its body since there is not any software problem with it. Does apple fix it and if yes, how much does it cost.
    Thank you.

    Welcome to the Apple discussions.
    Yes, Apple can repair. You'll have to take it to the Apple store to find out the cost, and you should probably be sitting down when they tell you the cost.

  • Function Module for Translation of text from Lower to Upper Case

    Hi All,
    Can any one give me function module for translation of text from lower to upper case.
    If we use Translate statement for the program in the Extended Syntax check it is giving error.
    Thanks in advance.
    Regards,
    srinivas

    Hi Srinivas,
    You can use any of the Function Modules below.
    AIPC_CONVERT_TO_UPPERCASE
    2054_TRANSLATE_2_UPPERCASE
    HR_99S_CONV_UPPER_CASE
    Please reward if useful.
    regards,
    Raj

  • SharePoint crawled property with both lower and upper case

    I have web page which has meta tag, like CN_ABC, then after I crawled these pages, and when I try to map this property to a managed property, I always see there are two crawled property available, one is CN_ABC, the other is CN_abc, only difference is
    the lower case and upper case, I have seen this in many other site and many other meta tag, what was happening?

    The meta tag you mean is a site column created for the page library?
    This doesn't seem can be happened, if it is a site column, then it will create a crawled property for the column, named like: ows_sitecolumn, also, CN_ABC, CN_abc is not to distinguish lower or upper case, it should be CN_ABC or cn_abc.
    I would suggest you to delete the related crawled property for the column, then do a full crawl, check whether it is happened, if it insistes, map the crawled property to different managed property, whether it returns same value.
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Translate search parameters to lower and upper case

    Hi All,
    I need to create a search function. Is it possible to translate the search paramaters to  both upper and lower case because inside the data there are data with upper case or lower case or both.
    Thanks in advance.

    Hi ,
      As per your requirement you have to write logic for three conditions :
    1. Translate whole word into upper case .
        TRANSLATE  your field name  TO UPPERCASE.
    2. Translate whole word into lower case .
        TRANSLATE  your field name  TO LOWERCASE.
    3. First character of your field should be in uppercase rest in lower case .
    so write your logic now considering third point also .
    Regards ,
    Nilesh Jain .

  • How to Handle the lower and upper case in 'POPUP_GET_VALUES'

    Hi All
    i am using the following FM and when i enter value on the
    popup in lower case or with capital letters i see the field
    with upper case ,this is problem for me since i need to
    take the field and compare it ,there is a way to handle this
    issue ?
    CALL FUNCTION 'POPUP_GET_VALUES'                      "#EC FB_RC
            EXPORTING
              popup_title     = lv_head_msg
            IMPORTING
              returncode      = lv_rc    " User response
            TABLES
              fields          = lt_field    " Table fields, values and attributes
            EXCEPTIONS
              error_in_fields = 1
              OTHERS          = 2.
    Best regards
    Alex

    Hi Alex,
    This because, the field and table name that You are passing in lt_field, has a conversion attached to it, which causes the converison in case.
    For e.g. If You pass MARA-MATNR and try to get the values from pop-up, the value will get converted to upper case, but if You pass MAKT-MAKTX (which does not have a converison attached to it), the value will be retrieved as it was entered. This is standard SAP, which is correct.
    If You need to get values of any text field, pass any SAP text field as reference in your table lt_field. Hope this helps...
    Rgds,
    Birendra

  • Small caps - is there a way to change size ratio of lower to upper case?

    I am using Adobe InDesign CS4 and one problem I've had is that when I select Small Caps on the character styles panel, lower case characters are about 60% the size of upper case characters. I'd like this to be more around 80% in my document.
    I don't see a way to do this, so I'm having to avoid using Small Caps and am having to select various portions of each word and set them to different sizes.
    Is there a setting I am missing for Small Caps that would save me this trouble? My typeface is Minion so I may also see if there's a variant available that uses well-crafted small caps.
    Tim

    Dave,
    >.. adjust the size of the "lowercase" characters by using a GREP style
    Yes ... and no.
    It doesn't have to be an extremely complicated GREP style. You mention Unicode ranges, but it's not even necessary. You could try
    >[a-z]
    to select all lowercase characters, but it leaves out accented ones. Now specifying ranges for these doesn't work very good (to put it mildly), because they do not appear consecutively in the Unicode set.
    Fortunately, GREP has a wildcard
    >\l
    for "lowercase", and this matches
    i every
    lowercase character (even Greek and Russian ones). It's equal to the POSIX expression
    >[[:lower:]]
    As this seems to work just the way you want, then why the "No"? The GREP style will be applied to
    i all
    lowercase characters in the paragraph, not just to the words you wanted.
    [Warning: Dirty trick follows. Do Not Copy Unless Forced To.]
    Of course you can
    i force
    the GREP style pick up 'unique' words by making them unique somehow. If you insert an invisible character
    i before
    and
    i after
    the words you want to mark -- in the case at hand, the ones you want to small-capitalize --, you can include the invisible characters in the GREP style. For example, by specifying
    >~-\l+~-
    you can "mark" words by inserting a soft hyphen before and after certain words. (This example also presumes only lowercase characters inbetween.) You don't have to use the soft hyphen, there are a couple more markers you could (ab)use. I think I'll leave it up to your imagination to wonder where it could possibly go wrong.

  • Duplicate members in lower and upper case

    Hi
    In BI I/O duplicate members are there in lower and uppercase. How to suppress these members while loading into BPC dimension.
    regards
    Mahi

    Hi Raghu
    In my case I want to load one of the duplicate members in BPC dimension. Say XYZ and xyz are two members in my BI I/o. but I want to load only XYZ or xyz.  I know selection option will work for loading transaction data for a set of members.
    regards
    Mahi

  • How to cast a fieldinput value to upper case.

    Im not a java programer I guess that this must be a silly thing.
    Im searching data in R/3 from 2 fields 1 numeric and the other alphanumeric. This alphanumeric fields if I put it in upper case works, if I wirte it in lower case doesnt works.
    In R/3 when I test the FM doesnt matter if I put it lower or upper case, it works fine.
    so I wanna know how can I in WD cast the value that I put in that fieldinput be converted to upper case when I hit the search button.
    Thx

    > Im not a java programer I guess that this must be a
    > silly thing.
    >
    > Im searching data in R/3 from 2 fields 1 numeric and
    > the other alphanumeric. This alphanumeric fields if I
    > put it in upper case works, if I wirte it in lower
    > case doesnt works.
    >
    > In R/3 when I test the FM doesnt matter if I put it
    > lower or upper case, it works fine.
    >
    > so I wanna know how can I in WD cast the value that I
    > put in that fieldinput be converted to upper case
    > when I hit the search button.
    >
    > Thx
    Hi,
    When you test the FM in SE37 in R3 there is an option at the top of the screen Called Uppercase/Lowercase - this controls whether the input is automatically converted to upper case for alphanumeric fields.
    The other option you have, if it is a custom FM, is to translate the input of the alphanumeric fields in the ABAP - it is quite common to have to translate or convert input data to make sure it is in the same format as the backend system.
    I prefer to do this sort of conversion on the backend system as usually you have a better guarentee that it will be in the correct format, than if you do it in the Java element.
    Just my opinion,
    Gareth.

  • Fetch data from IR to form in UPPER CASE format for text field items

    Hello,
    Can anyone please help with this issue. I have a IR report with form and I want to fetch the data to upper case when I go to the form level to edit the details from the IR report. I am using the Oracle APEX in built automatic row processing DML to update, create or delete the records. Is their any way, where I can convert the data to upper case whenever user creates a new record or updates the existing record using the in-built automatic row processing DML.
    Please help.
    Thanks,
    Orton

    Jari,
    I have tried your option but no luck. The thing is the text is getting converted from lower to upper case when i navigate from report to form level. But I want to save the data to the database all upper case, even if the user enters data in lower case and this applies for both inserts and updates. Whenever i tried to create or update a record, all the data should be converted to upper case before inserting or updating to the database.
    Please help.
    Thanks,
    Orton

  • Which is preferred, sid name in lower or upper caps?

    Hello,
    Which is better, the sid name in lower or upper case? When I created a database with sid name in UPPER case, my file_name in dba_data_files is something like this, /u01/oradata/TESTDB/users01.dbf.
    So base on your experience, should the sid name be in lower or upper case? Thank you in advance.

    I've habituated to upper case, even though as a unix bigot I tend to do things in lower case. Don't forget dbname and service names in their various places too, obscure bugs in various places have popped up with those over the years.
    See Bug 9438890 - DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL does not work for AUDIT_TRAIL=OS with uppercase ORACLE_SID for a recent silly example. Someone somewhere must have been slapping their forehead over that one.

  • Search for upper case in Bex Queries

    Dear Gurus,
    I'm facing the following situation:
    I have a query from BW listing customers from a Infocube and it is displayed in uppercases, but when I click in the button filter in left panel from the characteristic Customer and type the customer name in lowercases it doesn't work anyway,
    What can I do to solve this problem?
    Thank you in advance,
    Fabio Purcino
    Brazil

    Hi,
    I've solved this problem by changing the function module RSD_CHA_BUILD_QUERY. I just added the following code before ENDFUNCTION.
      data: ti_where type table of rsdrs_s_where with header line.
      loop at e_sx_query-t_where into ti_where.
        translate ti_where-low to upper case.
        translate ti_where-high to upper case.
        append ti_where.
      endloop.
    Regards,
    Fabio Purcino

  • How do I male keywords (only) upper case in a JTextPane

    I'm using a DefaultStyledDocument subclass to handle SQL syntax highlighting but what I want to do is ensure that keywords are converted to upper case so as to maintain a "good" style without the hassle of shift or caps lock.
    Now, the StyledDocument seems the wrong place to implement this functionality as it should be just for display purposes while changing text to upper case is an actual change to the character values selected by the user.
    The JTextPane class itself has a replaceSelection(String content) method but this relies on the text being selected.
    I guess I could do this if I had a hook back to the JTextPane from my StyledDocument. When I find a keyword, select the text and replaceSelection.
    Is there a cleaner way to do this?

    Okay, top tip.
    I added the document listener which processed the text on each insert.
    At this stage, I've only implemented keyword checking on single character inserts (to capture changes as they are typed) - multi character inserts need to be handled differently.
    If I have a character I know can signal the end of a SQL keyword (space, carriage return, brace, parenthesis, comment etc) then I jump back to the last space in the document. This gives me the last "word" in the document.
    Remove the last character (as this is the character that has triggered the event) and then see whether it is upper case or not? If not, should it be (is it a keyword)? If so, insert the upper case String in its place.
    It was a bit fiddly to put the pieces together (a document listener which then has to use SwingUtilities to make the change using a third Runnable class) but it does exactly what I ask of it.
    I have to implement a similar algorithm now to cope with deletions (what if a delete the "a" at the end of "selecta") and multi-character inserts.
    Thanks for the advice. I've not used DocumentListeners before so this was doubly helpful.

  • How to disable Automatic UPPER case in SQL Developer

    Hi,
    I am using SQL developer more than two years. I have recently downloaded SQL Developer 2.1.1.64.
    My problem is, while editing the package body when move to newline the previous line get converted to UPPER case automatically. But, I don't want to get all the code I have written to be converted to UPPER case.
    I have tried all possible preference changes but no change. Can you please help me how disable the case change in SQL developer.
    Looking forward your response.
    Thanks,
    Prashantha Konkodi

    You can always define how you want to format the SQL or normal text by using the keyboard CTRL+' to manage text/keyword case to all UPPERCASE, Initcap, or all lowercase.
    The system remembers your settings and will keep the text the same format in future.

  • Conversation lower case to upper case by default not wanted

    Hi,
    Oracle converts lower case table names and columns names to upper case by default. To keep lower case letters names must be quoted. This "work around" is not acceptable.
    Is there a way to change this behavior either for the database or for a session?
    Thanks

    Easy answer. We are migrating from sybase ASE to
    oracle. Sybase supports mixed lower/upper case by
    default.Which is a proprietary behavior. After all these years of accusing Oracle of not conforming to standards, when they do (or come close) it bites them. <g>
    Users are familiar with reading column names like
    "RxCellsHec0Clp0" instead of "RXCELLSHEC0CLP0".
    Yes, there are users working directly with sql.If the users are used to putting the column name in double-quotes, then creating the table with identifiers in double-quotes will conform to the expected behaviour. That simply means that each and every reference to the table requires double-quote around the identifiers.
    And it is quite impossible to get them changing all their queries
    from select RxCellsHec0Clp0 from ...
    to select "RxCellsHec0Clp0" from ...One alternative is to wrap every table (of concern) with a view. My thought would be to leave the table with upper case identifiers, have the view with mixed-case identifiers, and use private synonyms to redirect the user to the view.
    The assumptions are
    1) user-oriented security is in place
    2) users use the quoted-identifier syntax

Maybe you are looking for

  • ECC IM report, the available and assigned budgets are not correct

    Hi All Can any one tell me why there is a difference in the ECC IM report, the available and assigned budgets are not correct on program position level. But individual investment order level, they are correct.. The report we are running is : S_ALR_87

  • Same SID two host name

    Hi, I have some problem connecting to database. I want to connect to 9i database from 8i client. Database has two host names(logical partition) sharing one SID (one IP). I have configured host and tnsnames.ora for two hostnames but both connect to sa

  • Direct Input via BDT?

    Does anyone know, what exactly the transactions 'BUTI' or 'BUTJ' are doing? I'm actualy searching for a starting point to migrate (non sap) business partner informations via BDT. Can someone give me a hint? Thanks

  • Trying to imitate the vocoder effect like Cher's "Do You Believe"

    Is there a plug in in Logic 8 or 9 that can make my vocals sound like that?

  • Hi, I have this Zen 8 gig with a video problem ..

    I have some videos in my player with different times. All of them never play to the end. Even a video who plyas only one and half minut doesnt play untill the end of it. What is going wrong? Somebody here can help me out please? Greetings Lichtje