How to keep cases in the data dictionary

Hello

I am very new to Oracle, please apologize in advance for the silly questions.

Using Oracle 9i R2, SQL Developer 1.51.5440.

I don't know if it's Oracle DB or SQL developer tool, but the names of the object I create are all transformed into uppercase. Table name, column names, procedure names that all are displayed in uppercase. And yet, I make sure that when I created allows them to use carefully mixed case to improve readability. Example: ProductID, MyTable, etc..

I went to the options of SQL Developer, but I saw no option to disable the automatic uppercase. Some objects rest in different cases, for example the content of a procedure still looks like when I typed it.

Is there a way to get the names of the objects to display exactly like them, I created?

Thanks in advance.

Using double quotes around the string is the way to save the case of data retention. However, it is a nightmare to the query. As you must remember the case. Using functions as TOP invalid against the column index may compromise the performance of the queries. You can work around this by using function-based indexes.

As said by the previous guy, unless there are compelling reasons, not many people saves data keeping. If you save the data as a "PRODUCT ID" using InitCap it will give product ID. much more readable than ProductID.

Christopher Soza
Oracle BI s/n
Orix Consultancy Services Ltd
b: http://sozaman.blogspot.com

Tags: Database

Similar Questions

  • Please tell me how do to permanently change the date of a file "update"

    Please tell me how do to permanently change the date of a file "update". The file is a JPG image copied from a digital camera. After that I rotate image his 'Date Modified' goes from January 20, 2011 to September 1, 2011. As a result of the date change, the image no longer appears in the correct position when the directory is sorted. I have a program that creates a file HTML images. The software sorts images according to their creation date. The bad images appear at the end of the table.

    Date manipulation attributes of a file can be done directly through the graphical interface of Windows.  There are, however, various third party utilities that have this capability.

    This article has a good discussion on the topic and includes links to some public services.  The article is quite old, however, and I don't check to see if the links are still valid.  If not, you should be able to find something useful here: http://www.google.com/#sclient=psy&hl=en&source=hp&q=edit+file+accessed+date&pbx=1&oq=edit+file+accessed+date&aq=f&aqi=&aql=&gs_sm=e&gs_upl=1857l7979l0l8482l23l23l0l2l2l0l267l4165l0.10.11l21l0&bav=on.2,or.r_gc.r_pw.&fp=74e371c96a48f4b&biw=1024&bih=649

  • How can I re - attach the data files for the programs?

    Original title:

    reconnection of the files

    BONE had to be reinstalled.  All data is saved but lost programs.  Programs now reinstalled, but how can I re - attach the data files for the programs?

    Hello

    You copy the data on your computer (Documents, Photos, etc.) and file extensions should be automatically associated with programs they have written in.

    Otherwise:

    "Changing programs by default by using Set Program Access and defaults of the computer"

    http://Windows.Microsoft.com/en-us/Windows/set-program-access-computer-defaults#1TC=Windows-7

    "How to change file Associations in Windows 7 and Windows 8.

    http://www.7tutorials.com/how-associate-file-type-or-protocol-program

    See you soon.

  • How to keep or make the area outside the transparent cutting tool. Mine is white

    How to keep or make the area outside the transparent cutting tool. Mine is white

    You should find the forum for any product it is and post your questions there.

    Here is a link to a page that provides links to all of the Adobe forums...

    The Forum links page: https://forums.adobe.com/welcome

  • How can I automatically populate the date field after only one "digitally signs" a .pdf form? Help, please! Thank you!

    How can I automatically populate the date field after only one "digitally signs" a .pdf form? Here's a sample:

    _ Digital Signature___ (signs), Date (Auto-remplit)

    Under field properties of the signature on the signature tab, you can use a custom script, like this:

    this.getField("Date").value = util.printd ("mm/dd/yyyy", new Date());

    You know, however, that a digital signature always displays the date and time, it has been applied?

  • SDDM 4.0 - synchronize the data dictionary can not detect existing CF

    I started a data model implemented in version 3 of SDDM somewhere, then had to ask for about 9 months and pick it back up.  When I picked up back, 4.0 RC3 shone, so I used to work on the old model.  Some problems have emerged, and one that is currently more frustrating is when I use the "Sync data dictionary" feature to create the DDL to change the physical table based on changes to the model that I made.

    I used to be able to just do a right-click on the table, choose Synchronize the data dictionary, and then only the changes I made would be generated.  Now, however, the function Compare seems to not be able to detect certain properties of the physical implementation table he is comparing it to.  For example, there is a table with FK 3 and compare it detects that one of them, then it attempts to create them from scratch.  Of course fails because there are actually the CF.  I tried not to drop and re-create the keys in the comics because I don't want to go to this effort for each table.

    I can post screenshots if you illustrate the problem like this.  Does anyone have advice?  It seems that there is a bug in the software.  Thank you.

    Hi Mike,.

    Thanks for reporting the problem. I logged a bug for this.

    The synchronization works without problem if all of the tables involved are included in the sync operation. The problem is caused by PK/UK constraints with system-generated names.

    You can call the synchronization on a selection of objects (one or more), on a subview or the entire model. You can use "Select neighbors" in order to obtain selected related objects or

    'Create subview with neighbors' available in the context menu for the table in the browser.

    Philippe

  • Problems with synchronization model with the data dictionary

    Let me start by saying that I do something wrong (there not much documentation on this product so far...).

    I designed my whole from scratch in SDDM 3 and then put model upgraded to SDDM 4. There is already a problem with the sync option from the data dictionary model, in which it works only if first import you an object any in the data dictionary for the model for the reverse to work. I did, and now I can't start the synchronization successfully. The thing is, but I have all the objects already created in my database, according to a specific schema, each time I start the synchronization, it always tells me that none of my model objects exist on the destination! I've tried setting the owner on the physical model, remove, modify the connection to connect with the owner objects, but nothing seems to work.

    Any ideas?

    Hello

    You need clear information source banner and rename the schema in the relational model if you want to use the Sync feature, otherwise, you can use import wizard of data dictionary (possibly to check 'target swap') and to

    don't check box "use schema property in compare features" If your schema is changed.-"preferences > Data Modeler > DOF > compare > ' or to compare options in compare dialog.

    You can clear information source banner by selecting all the objects on the diagram (Ctrl-A) and use 'Clear stamp source' in the context menu for the selected objects.

    In the next version - there are options to work around the source schema and the name of the source object, and you can use different user and change the name of the table in the physical model in order to synchronize with a different schema or even track changes in table name.

    Philippe

  • Technical details of the package in the data dictionary

    Hi can u tell someone in what data dictionary table func or procedure declared in the package specification is stored?

    For ex.

    CREATE OR REPLACE PACKAGE IN THE PKG_TEST

    F_1 FUNCTION RETURN NUMBER;

    F_2 FUNCTION RETURN NUMBER;

    F_3 FUNCTION RETURN NUMBER;

    -----------------------------

    -----------------------------

    -------------------------------

    FUNCTION F_10 RETURN NUMBER;

    END PKG_TEST;

    Now the data dictionary tables, I want to know what are the functions created in PKG_TEST.i.e. He me F_1 would list at F_10.

    I checked in User_Source, but finding not useful.

    user_procedures

  • Can I use the data dictionary tables based on RLS policy?

    Hello guys, I use the package level security line to limit certain lines to some users.

    I created several roles, I want to just enable certain roles to see all the columns, but the other roles, I'm not that they see all the lines. I mean to do this I use the session_roles table data dictionary however it did not work.

    What to do in order to not allow rows of user roles?
    Can I use the data dictionary tables in RLS?


    Thank you very much.

    Polat says:
    What to do in order to not allow rows of user roles?
    Can I use the data dictionary tables in RLS?

    Ensure that:

    SQL> CREATE OR REPLACE
      2    FUNCTION no_sal_access(
      3                           p_owner IN VARCHAR2,
      4                           p_name IN VARCHAR2
      5                          )
      6      RETURN VARCHAR2 AS
      7      BEGIN
      8          RETURN '''NO_SAL_ACCESS'' NOT IN (SELECT * FROM SESSION_ROLES)';
      9  END;
     10  /
    
    Function created.
    
    SQL> BEGIN
      2    DBMS_RLS.ADD_POLICY (
      3                         object_schema         => 'scott',
      4                         object_name           => 'emp',
      5                         policy_name           => 'no_sal_access',
      6                         function_schema       => 'scott',
      7                         policy_function       => 'no_sal_access',
      8                         policy_type           => DBMS_RLS.STATIC,
      9                         sec_relevant_cols     => 'sal',
     10                         sec_relevant_cols_opt => DBMS_RLS.ALL_ROWS);
     11  END;
     12  /
    
    PL/SQL procedure successfully completed.
    
    SQL> GRANT EXECUTE ON no_sal_access TO PUBLIC
      2  /
    
    Grant succeeded.
    
    SQL> CREATE ROLE NO_SAL_ACCESS
      2  /
    
    Role created.
    
    SQL> GRANT SELECT ON EMP TO U1
      2  /
    
    Grant succeeded.
    
    SQL> CONNECT u1@orcl/u1
    Connected.
    SQL> select ename,sal FROM scott.emp
      2  /
    
    ENAME             SAL
    ---------- ----------
    SMITH             800
    ALLEN            1600
    WARD             1250
    JONES            2975
    MARTIN           1250
    BLAKE            2850
    CLARK            2450
    SCOTT            3000
    KING             5000
    TURNER           1500
    ADAMS            1100
    
    ENAME             SAL
    ---------- ----------
    JAMES             950
    FORD             3000
    MILLER           1300
    
    14 rows selected.
    
    SQL> connect scott@orcl
    Enter password: *****
    Connected.
    SQL> GRANT NO_SAL_ACCESS TO U1
      2  /
    
    Grant succeeded.
    
    SQL> connect u1@orcl/u1
    Connected.
    SQL> select ename,sal FROM scott.emp
      2  /
    
    ENAME             SAL
    ---------- ----------
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    
    ENAME             SAL
    ---------- ----------
    JAMES
    FORD
    MILLER
    
    14 rows selected.
    
    SQL> 
    

    SY.

  • How to keep track of the lines that I add to a table so that I can update more later or remove them?

    A > the form has a set of field and text dropdown list entries.  After the user updates the data in a specific text, change field, I need to add their data to a table on the first time through.   There are many different games of entries that would each have their own line.

    B > later the user comes back and changes the data in a field.  I need to update this specific line with the new values.

    C > later the user returns and removes the data of one of the fields completely so I need to remove that specific table line.

    D > the user does not directly from the table.  The table summarizes the entries that are made in the text and drop-down list fields.  I need to be able to maintain the table in harmony with user input.

    I agree with the addition of rows in a table, but I do not know what's best for that lines are kept synchronized.   I've got a good amount of Java programming experience under my belt, but I have a few projects in LiveCycle.

    I'm quite willng to read if you have any reference material online for the management of dynamic arrays.  So far, the only information I have found is how to add and remove lines, but not how to keep track of them.

    Any help is greatly appreciated.

    Ah sorry missed that you do not use two tables.

    Do you use Extensible lines or is there a specific line for each set of data?

    You can just hardcode where data are intended - a data go into RowA. To the same output of the field, you would be just: table.rowA.rawValue = this.rawValue;

    You can use Global binding on the fields: the fields, take data entry have the same name as the fields in the table and then automatically updated data.

    For blank lines, you will need to check if there is data in the fields and if no data you can hide the line: RowA.presence = 'hidden ';

  • How to keep track of the last selectedItem in datagrid?

    Hi all

    I use Flex 4 and an AdvancedDataGrid.  I need to keep track of the previously selected item.  I can't think where this good capture.  In an itemClickHandler method, the value of the selectedItem of the grid is already the element currently selected.

    FocusIn and Focusout/focusouthandler() attributes apply to the entire data grid, not the single line in the datagrid control.

    Thank you.
    Bonnie

    If I understand what you're asking correctly:

    based on the story how 'clicks', you simply store the index selected in an arraycollection collection.

    If you only need one. use 2 variables. One to store the current index and the other to store the previous.  And 'click' call a function that moves the current index in the previous. and the new current index of slected.

    If your 'click' has already done something else, just make a wrapper function that incorpates the copy of the index of the clicked and then done everything what you need.

    something like that... If you insert data in the ADG it should show something other than-1

    ////////////////////////////////////////////////////////////////////////////////////////// ///////////////////

    <>

    xmlns:MX ="http://www.adobe.com/2006/mxml" layout = "absolute" > "

    Import mx.collections.ArrayCollection;

    [

    Bindable]

    private var history: collection ArrayCollection = new ArrayCollection();

    [

    Bindable]

    private var last: int;

    [

    Bindable]

    private var current: int;

    private function recordHistory():void {}

    last = current;

    current = adg1.selectedIndex;

    //***//

    history.addItem (adg1.selectedIndex);

    }

    ]]>

    ////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////

  • Qosmio X 70-A-13 c-how access SSDS to move the data

    Hello

    My computer, a "Toshiba Qosmio X 70 - A - 13 c' just 'died' half an hour ago.

    I was typing something and then a "large bang" just happened, the computer shutdowned instantly, no BSOD, nothing. I can't restart, the computer does not even, as if there was no battery at all.

    I am sure the problem is physical, probably a component which is dead. The computer has not been particularly warm, I was not even playing. I bought in December 2013 so I guess it's still under warranty (2 years I believe).

    As it is physical, I can't do much... (I'm a computer engineer)

    But I need to back up my data, usually own support because each hard drive and I don't want that to happen.
    I had to know if there is a tutorial to successfully open the computer. Can I do it? I mean, without losing the warranty.

    I have some data on my SSD, the other drives are easy to take and replace, but I can't figure how to remove the "shield" and access the SSD, so I can copy the data.

    Here are instructions detailed step by step how to remove HARD drive
    http://APS2.toshiba-tro.de/KB0/CRU3903II0000R01.htm

    You said that you have already removed the HARD drive... Well, this would not affect the warranty but if you would remove the laptop to access on the SSD, you definitely lose the warranty.

    So my advice: do not touch it if your warranty is still valid.

    If you want to save the data available on the SSD drive, I recommend you to speak with service engineers who could move to another medium before starting the installation of the new system.

  • How can I find out the date of the purchase of my laptop?

    Hello guys

    I bought a laptop Toshiba of Extra business @ Jeddah, Saudi Arabia
    & I want to know how can I know the Date of purchase of this one because I missed the payment invoice & when I register my laptop Toshiba web site he asks me about the Date of purchase.

    Please help me
    Thank you very much
    Good bye

    Don t think you can find the date of purchase.
    Where this should know without a payment of invoices or sales controls.

    What you can do is when the laptop has been recorded on page of Toshiba.

    [Toshiba warranty Lookup | http://computers2.toshiba.co.uk/toshiba/formsv3.nsf/WarrantyEntitlementLookup?OpenForm]

  • Satellite M300 - how do I back up the data before using the recovery disk

    Hello everyone,

    Today, I closed my laptop Toshiba Satellite M300.
    Just after a few seconds, it automatically in service and reported some "boot error".

    She also suggested I put on the recovery CD. When I put the CD, nothing happened.
    After awhile, I read the instructions in the CD cover that says that I have to hold the C button and it will start the recovery process.

    How the process goes, the system told me that all the files that I had in the computer would be removed.
    Is it possible how I could back up my documents before as I recover my Vista?

    I would be very grateful if someone could help me!

    Sincerely,

    Milan

    Hello

    If I understand correctly, you are not able to boot into the Windows operating system; According to the normal starting procedure or by using safe mode. Is this good?

    If Yes, then I don't see many options to get access to the files on the HARD drive.
    What you could try is to remove the HARD drive and use an external USB 2.5 enclosure to connect the HARD drive on another computer.
    Then you could test whether it is possible to access the HARD disk and save the data.

    The Toshiba Recovery disk does not any option that allows you to save the data, the drive formats the HARD drive and erases all partitions.

  • Synchronization of the comments of the column from the relational model to the data dictionary?

    I changed/added comments of column to a table in my relational model. When I try to sync the database data dictionary changes are never included the observations of the new column. In fact, I see that the values in the field 'Commentary in RDBMS' are different in the preview window to compare, but the line is not highlighted in red I guess that, in fact it is even dimmed. Also, I can not check the check box "selected".

    Is there a way to get comments to synchronize? I don't miss any option that I first? Is this a bug or an expected behavior?

    I use the version 4.0.3 x 64 of the Data Modeler.

    Any help would be appreciated,

    Charlie

    Hi Charlie,

    but the line is not highlighted in red I guess that in fact it is grayed out even.

    "that means property is excluded from the comparison - the same dialog box click on tab -" Options > properties filters '-you can control the properties to include in compare it it is to say ' comment in RDBMS ' must be checked.

    Press the button "Refresh trees" after the properties are set correctly.

    Philippe

Maybe you are looking for