How to preserve mixed case in Data Dictionary

Hi,
I am very new to Oracle, please excuse in advance for silly questions.
Using Oracle 9i R2, SQL Developer 1.51.5440.
I don't know if it's Oracle DB or The SQL Developer tool, but the names of the object I create are all transformed in uppercase. Table name, column names, procedure names all are displayed in uppercase. And yet I make sure when I created them to use carefully mixed case to improve readability. Example: ProductID, MyTable, etc.
I've gone over the options of SQL Developer, but I didn't see any option to turn off the automatic uppercase. Some objects still remains in mixed case, for example the content of a procedure still looks like when I typed it.
Is there a way to get the object names to be displayed exactly as I created them?
Thanks in advance.

Ok, now I see, make senses that everybody keeps using uppercase. I have tried this:
CREATE TABLE "MyTable" ("Col1" number not null, "Col2" varchar2(20) not null)
And indeed, even SELECT * FROM MyTable would not work, I have to reference the table by SELECT * FROM "MyTable"
FYI, in SQL Server, object names are case-insensitive. The name saved in the data dictionary is exactly how you type them. In the queries, constraints, indexes, etc., you can reference to the object name by any case. I find this way more convenient.
One more question, in the current schema I am working on, where all object names are uppercase. How come I can still make a query with any case?
For example if I type in SQL Developer: SELECT ProdUCTID, PrOduCTNaMe FROM T_proDuCT ;
The query executes OK although I'd expect Oracle would complain about table not found. So are the following rules correct?
1. If the object name was saved with double quote, Oracle will preserve the case and the object should always be referenced WITH double quote and the exact case.
2. If the object name was save without double quote, Oracle will uppercase the name and the object can be reference by any case.

Similar Messages

  • How to see tablespace size in data dictionary

    How can I see the tablespace size, and used tablespace size in data dictionary view?
    it is not in dba_tablespaces, and v$tablespace
    Thanks.

    I like this little piece of code of mine:
    SQL> SELECT
      2          TABLESPACE_NAME,
      3          RPAD(RPAD('|',100-PCT_FREE,'X'),100) || '|' USED
      4  FROM (SELECT TABLESPACE_NAME,
      5    100 -
      6      ROUND(100 -(SUM(BYTES)/1024/1024/1024)*100/
      7                  (SELECT SUM(BYTES)/1024/1024/1024
      8                   FROM DBA_DATA_FILES DF
      9                   WHERE DF.TABLESPACE_NAME=FS.TABLESPACE_NAME),2
    10            ) PCT_FREE,
    11    ROUND(SUM(BYTES)/1024/1024/1024,2) GIBFREE
    12  FROM DBA_FREE_SPACE FS
    13  GROUP BY TABLESPACE_NAME) TABLESPACE_SPACE
    14* ORDER BY TABLESPACE_NAME;
    TABLESPACE_NAME                USED
    ARCHDATA                       |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      |
    DATBIGGX                       |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                  |
    DATGX                          |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                                                      |
    DATLOWGX                       |XXXXXXXXXXXXXXXXXXXXXX                                                                             |
    IDXBIGGX                       |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                 |
    IDXLGX                         |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                |
    IDXGX                          |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX          |
    LOGMNRTS                       |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                                           |
    SYSTEM                         |XXXXXXXXXXXXXXXX                                                                                   |
    TOOLS                          |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                                                   |
    UNDOGX                         |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                                         |Yoann.

  • How can we find the obsolete data dictionary objects in ecc 6.0 version

    My Question is How can trace the obsolete data dictionary objects in ecc 6.0 version such that we could
    anticipate the obsolete objects before upgradation.
    Regards,
    Raghunadh Babu.

    Hi Raghunadh,
                        The data dictionary objects will be in the repository itself if activated.If the data dictionary objects was created by user and if it is not activated.In this scenarion the data dictionary object can be seen in object navigator.Please check the transaction SE80 and SE81.
    Hope your query resolves.
    Have a best day ahead.

  • How to find out the aligning Data dictionary table for a structure.

    Hi
    As the table controls are associated with strucures, the data input goes to the data dictionary table aligned to that structure. Is there any way we can find out the table related to that particular structure ?
    Thanks,
    Dhareppa

    Hi,
    The structure and its fields may be associated with multiple database tables.
    You can try by where-used list of the structure/field and then you can look and determine the table by hit and try method.
    Also as suggested above you can try get the SQL trace and then ypu can look for table associated behind the structure/fields I believe this is the best way to find the DB table.
    Thanks,
    Ravi

  • How to preserve the case of a text(upper/lower) in the transparent table

    Hi Experts,
      I've created a Z table. Whenever I'm maintaing some text in this table via SM30, the whole text is being stored in UPPER case.
       But I want to store the text as it is i.e. a combination of lower/upper/numbers etc..
    Please advise.
    Thanks and Regards,
    Rudresh

    Goto SE11 Transaction and got ur domain field ,in the output charcterstics - check the lower case check box..
    and also maintain ur domain char field..
    Reward Points if it is helpful
    Thanks
    Seshu

  • How do you make InDesign CS5.5 save a mixed-case word to the user dictionary?

    My spell checker will save most words to the user dictionary, but not all upper case or mixed case words.  In my work these are often these since the are commonly used acronyms.
    How do I make it save these to the user dictionary?

    You haven't mentioned that you have an Adobe product that can create forms but if you have Acrobat, you would save it as a Reader extended PDF (you may or may not want t use Designer as mentioned above. That creates a certain type of form which it sounds like you don't need).
    As far as the usage limit, if only a few people will be filling it in, they can do it an unlimited amount of times. The 500 limit only comes to play if you have sent the form to an unspecified amount of people (such as a form for customers that is available on a web site). Then you could only collect the data from that form 500 times.
    But, let's talk a little more about what software you have. Acrobat? If so, what version (saving the extended file for Reader users is different between versions.)?

  • Fetching data from database in case of mixed case in SE37

    Hi,
    I have created a function module(in se37) where the input is Last name(PA0002-NACHN). My requirement is i have to fetch data from PA0002 based on last name. But the problem is if i give a name in mixed case(both upper and lower) sap converts the last name into Capital letter and starts searching the database.
                      But i tried in abap editor. here SAP accept the parameter(last name) as mixed case and starts searching. Why in function module the parameters are converted into upper case. How to restrict it.
                 If i will create a domain with LOWER CASE check box checked and try to call the dataelement in import part of function module then also it's converting it inot upper case. If i uncheck the lower case check box then also it's taking it as upper case.
                How to process the input parameter in function module(SE37) which should take the input as user enters,i.e if user enters small letter it should take it as small letter , if mixed letter it should take it as mixed letter and start searching.
    regards
    sandeep

    HI sandeep,
    <i>"If i will create a domain with LOWER CASE check box checked and try to call the dataelement in import part of function module then also it's converting it inot upper case. If i uncheck the lower case check box then also it's taking it as upper case."</i>
    I think the data is getting converted to upper case even before it is passed to this FM.
    Can yo ushow how are you testing this FM?
    If you are calling this FM in a abap program using a parameter, it will convert the text to upper case as and when you enter data the name in it.
    Regards,
    Ravi

  • BUG: Export DDL and Data fails for mixed case table/column names

    Hi there,
    I have found a bug in SQL Developer. See details below.
    Description:
    When "Export DDL and Data) function is used on a table/columns not named in UPPERCASE, sql generated by SQL Developer is invalid.
    Steps to reproduce:
    - open SQL Developer, connect to DB
    - make a table named "lowerCase" (in double quotes, so it won't be automatically changed to capital letters)
    - you may also add some columns, for example "lowerCol1", "UpCol2", ALLUPCOL3
    - add some data rows to the table
    - choose Tools -> Export DDL and Data
    - check exporting of tables and data, on "filter" tabs choose your "lowerCase" table
    - press "Apply"
    Error:
    Generated SQL contains invalid INSERTs: mixed-case table and columns are referenced without obligatory double quotes, which yields an error when generated script is executed (see below, relevant line is underlined)
    -- DDL for Table lowerCase
    CREATE TABLE "DBO_HT"."lowerCase"
    (     "lowerCol1" VARCHAR2(100),
         "UpCol2" VARCHAR2(100),
         "ALLUPCOL3" VARCHAR2(100)
    -- DATA FOR TABLE lowerCase
    -- FILTER = none used
    -- INSERTING into lowerCase
    Insert into lowerCase (lowerCol1,UpCol2,ALLUPCOL3) values ('lc','uc','auc');
    -- END DATA FOR TABLE lowerCase
    Remarks
    SQL Developer: version 1.2.1, build MAIN-32.13
    Oracle DBs: 9.2 & Express
    OS: Windows 2000 Professional
    If you need any more details/testing, let me know. I'd really appreciate a quick patch for this issue...
    Alternatively, do you know of any other simple way of copying a single database (it's called a schema in Oracle, right?) from one computer to another? Possibly something so simple like detaching->copying->reattaching mdf (data) files in SQL Server... I thought that this "Export DDL&Data" function will do, but as you can see I couldn't use it.
    I just need a simple solution that works - one operation on source to stuff, get the resulting files to other computer and one operation to have it running there... I think that such scenario is very basic, yet I just can't achieve it and I am simply not allowed to spend more time on it (read: our test project fails, my company rejects my "lobbying" and stays with MSSQL :/ )
    Thanks a lot & bye

    Thanks for your reply.
    ad. 1)
    You're right. I just wanted to give some very short feedback on my experiences with SQL Developer, so I didn't think starting new threads would be necessary, but as I was writing it became much bigger than I initially planned - sorry about that. I will make proper threads as soon as possible. Having "Edit post" button on this forum would also be useful.
    ad. 2)
    Generally, you're right - in most cases it's true that "switching DBMS is a major commitment" and "you will produce terrible code" if you don't learn the new one.
    However, I think that you miss one part of market here - the market that I think Express is also targeted on. I'd call it a "fire&forget databases" market; MySQL comes to mind as possibly most common solution here. It's the rather small systems, possibly web-accessed, whose data-throughput requirements are rather modest; the point is to store data at all, and not necesarily in fastest way, because given the amount of data that is used, even on low-end hardware it will work well enough. What's important here is its general ease of use - how easy is to set up such system, connect and access data, develop a software using it, how much maintenance is needed, how easy this maintenance is, how easy are the most common development tasks as creating a DB, moving a DB from test to production server etc. There, "how easy" directly translates to "how much time we need to set it up", which translates to "how much will the development will cost".
    Considering the current technology, switching the DBMS in such systems is not necesarily a major commitment and believe me that you will not produce terrible code. In many cases it's as simple as changing a switch in your ORM toolkit: hibernate.dialect = Hibernate.Dialect.OracleDialect vs MySQLDialect vs MsSql2005Dialect
    Therefore, in some part of market it's easy to switch DBMS, even on project-by-project basis. The reason to switch will appear when other DBMS makes life easier => development faster. From that point of view, I can understand my colleagues giving me an embarassing look and saying "come on, I won't read all these docs just to have db copied to test server". And it doesn't mean "they are not willing to learn anything new", it's just that they feel such basic task should have self-explaining solution that doesn't require mastering any special knowledge. And if they get such simple solutions somewhere else, it costs them nothing to change the hibernate dialect.
    I think Oracle did the great job with introducing the Express to this "fire&forget" market. The installation is a snap, it just works out of the box, nothing serious to configure, opposite to what I remember from installing and working on Oracle 9 a few years ago. In some places it's still "you need to start SQL*Plus and enter this script", but it's definitely less than before. I also find the SQL Developer a great tool, it can do most of what we need to do with the DB, it's also much better and pleasant to use over Oracle 9 tools. Still, a few basic things still require too much hassle, and I'd say taking your schema to another machine is one of them. So I think that, if you do it well, the "schema copy wizard" you mentioned might be very helpful. If I was to give any general advice for Express line of DB/tools, I'd say "make things simple" - make it "a DB you can't see".
    That's, IMHO, the way to attract more Express users.

  • Hi...i bought the new iphone 4 and would like to ask how can i transfer all my data from my old iphone to the new one?  If I will do "synchronization" through itunes with the old phone and the plug in the new one will that be the case?

    Hi...i bought the new iphone 4 and would like to ask how can i transfer all my data from my old iphone to the new one?  If I will do "synchronization" through itunes with the old phone and the plug in the new one will that be the case?

    Follow the instructions in this article to transfer your info: iPhone: Transferring information from your current iPhone to a new iPhone

  • How to create a line type in data dictionary

    How to create a line type in data dictionary?Please explain step by step?
    Thanks & Regads,
    Sairam

    Hi,
    the details abbout the line type.
    The line type of a table type can be defined by:
    o Specification of a type that already exists (data element,
    structure, table type, table, view) whose properties are then copie
    as properties of the defined table line.
    o Direct type input, where data type, number of positions, and, if
    required, decimal places, are entered directly.
    o Specification of a reference type.
    and SE11 and click on datatype and click on table type and enter the line type.
    Thanks
    Shiva

  • How many types of tables exists and what are they in data dictionary?

    hi,
    How many types of tables exists and what are they in data dictionary?
    regards.

    Hello Liu,
    Please search in forum before posting any question .
    anyhow check the below link :
    http://web.mit.edu/sapr3/dev/sap_table_types.htm
    Thanks
    Seshu

  • Convert data in table to mix case

    Hi All,
    I have a table that contains data.
    This table has to columns, an id and description.
    I would like to update my table to convert data to mix case.
    As of now, all of my data in the table are lower case.
    What I mean by mix case is first letter for each word is uppercase and the rest are lower case.
    is there a function i can use ?
    example:
    Amended/Resentence, Type UnknownThanks

    You can use the INITCAP function.
    update table
    set description = INITCAP(description);Example:
    create table test (description varchar(50));
    Table created
    insert into test values ('amended/resentence, type unknown');
    1 row inserted
    select * from test;
    DESCRIPTION
    amended/resentence, type unknown
    update test set description = initcap(description);
    1 row updated
    select * from test;
    DESCRIPTION
    Amended/Resentence, Type Unknown

  • How to store variable length of data in data dictionary table

    hi friends
        i want to store variable length of text in one of field of table which is created in data dictionary.
        i tried it by declaring table field type as string,
    include that table using table statement and try to insert data in abap program . but it gives error something
    "cannot use table having deep structure " i don't remember it exactly.
          can you help me how to insert variable length of data in text data dictionary table.

    Hi,
        define field with type LRAW in your table to store
        string more than 255 characters.
          LRAW                                                                               
    Uninterpreted byte string of arbitrary length, but with a minimum                   
          length of 256. Fields of this type must be located at the end of                    
          tables and must be preceded by a length field of type INT2. LRAW                    
          fields cannot be used in the WHERE condition. LRAW is functional from               
          Release 3.0.                                                                        
    Regards
    amole

  • How do I create a physical structure in the data dictionary ?

    Hi all,
    How can I create a data structure using ABAP ? (prefrebly by using a class)
    I want to create a physical data dictionary structure, just like using se11 (data type -> structure).
    Thanx ahead.
    -Tonni

    To create a dynamic table at runtime I use the code below.
    DATA: gt_fcat          TYPE slis_t_fieldcat_alv,
          gs_fcat          LIKE LINE OF gt_fcat,
          gt_fieldcat      TYPE lvc_t_fcat,
          gs_fieldcat      LIKE LINE OF gt_fieldcat. 
    CLEAR: gt_fieldcat, gt_fieldcat[], gs_fieldcat.
      gs_fieldcat-fieldname     = 'SIGN'.
      gs_fieldcat-ref_field     = 'XMSTU'.
      gs_fieldcat-ref_table     = 'T007A'.
      gs_fieldcat-fix_column    = space.
      gs_fieldcat-no_zero       = space.
      APPEND gs_fieldcat TO gt_fieldcat.
      gs_fieldcat-fieldname     = 'OPTION'.
      gs_fieldcat-ref_field     = 'SEQN'.
      gs_fieldcat-ref_table     = 'T159W'.
      gs_fieldcat-fix_column    = space.
      gs_fieldcat-no_zero       = space.
      APPEND gs_fieldcat TO gt_fieldcat.
    Create a new Table
      CLEAR : gt_range2.
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = gt_fieldcat
        IMPORTING
          ep_table        = gt_range2.
    Create a new Line with the same structure of the table.
      ASSIGN gt_range2->* TO <range>.
    To create a structure like this table I use
      CREATE DATA gs_range2 LIKE LINE OF <range>.
      ASSIGN gs_range2->* TO <range1>.

  • How to undo "Set case to" on a column in the data foundation?

    Hello,
    I have a multisource universe currently pointing at only one database (Oracle). In the data foundation I right-clicked one of the columns named "Category" and selected "Set case to upper case". This broke the query with the following error: "Database error: [Data Federator Driver] [Server] The column name 'CATEGORY' could not be found in the table/alias: 'Table__1'. (IES 10901) (WIS 10901)"
    I would like to undo this change but can't find a way to do it. The only options in "Set case to" are upper and lower case, with no option to go back to the original/default. How can I fix this without having to reimport the table? I read that you can tweak case-sensitivity settings in a .prm file but I would rather not change things at the filesystem level.
    EDIT: I worked around it by changing the object in the business layer to use the original case of the column name. But is there no way to change back how it actually looks in the data foundation? A minor issue perhaps, but annoying.
    Thanks.
    Pedro G. Acevedo

    Hi
    We can make changes back using the Undo option.
    If you have selected Category ..and selected
    Selected "Set case to upper case" CATEGORY
    selected "Set case to lower case" category
    If you want the actual DB field Category use the option :
    Edit --> Undo Set (IDT)
    If it is still not change back to “Category” , just delete the table from Data foundation and add again to same table once again and create the joins

Maybe you are looking for

  • Problem with hostednetwork in win 8.1

    when ever i connect my laptop using netsh wlan set hostednetwork it gets connected to my android mobile but the connection disappears after few seconds...I had tried disabling the WiFi and enabling  it and again creating with new ssid but still happe

  • Adobe flash 11.4.402.265 doesn't work for me either. Anyone else having a problem?

    I installed the latest update and once again this version is not working for me either. I again had to go back to 10.3 Is it okay for me to just stay with 10.3 indefinately?

  • Add file to executable

    I'm trying to build an executable that will look up an external file to get input parameters. In the vi that will be made into the executable I place the external file name in a path relative the the vi path. When I build the executable and run it, i

  • Want to put tables into DB

    Hi there, I'm studying DBs again after a summer break and have forgotten some basics. I have 2 tables that I need to put into a DB but I'm not sure how I should do it. Here are the table names with their columns: Student Table: Student_id First_name

  • DATA QUALITY MANAGEMENT software

    Hi, some one please help me to find DATA QUALITY MANAGEMENT software for our company purpose. I am not able to locate in SAP portal. Thanks & Regards Kishore Varanasi