Paspersist the case of table and col in sql devloper

when i see my tablename col names in sql devloper it shows in capital letter, how can i show them in Pascale case.
yours sincerly.
Edited by: 944768 on Apr 7, 2013 8:35 AM

Hello,
column names are usually not case sensitive and stored in uppercase in the data dictionary.
You can enforce camelcase when you create a table by putting doublequotes around the column name
CREATE TABLE "CamelCase" (
"ColumnName" VARCHAR2(1)
SELECT * FROM user_tab_cols WHERE table_name LIKE 'C%'
TABLE_NAME  COLUMN_NAME DATA_TYPE
CamelCase   ColumnName  VARCHAR2Though usually it is not a good idea to use case sensitive names, because you have to use the doublequotes every time when you reference the table/column.
Regards
Marcus

Similar Messages

  • Query in expdp with case-sensitive table and columnname

    Hi,
    I've got a problem with exporting some specific rows of a table.
    The problem is a case-sensitive table and column name. I've tried this in a parfile:
    dumpfile=dpumpdir1:test.dmp
    logfile=dpumpdir1:test.log
    tables="Data"
    query="Data":'"where "DataID" = 11"'
    but it ended like this:
    ORA-31693: Table data object "Data" failed to load/unload and is being skipped due to error:
    ORA-06502: PL/SQL: numeric or value error
    ORA-31605: the following was returned from LpxXSLSetTextVar in routine kuxslSetParam:
    LPX-314: an internal failure occurred
    Edited by: [Logik on 18.04.2013 01:18                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I've tried to make a function with this. I think you used some Oracle 11 parameters. reusefile for example.
    However I've managed to compile the function without error:
    CREATE OR REPLACE FUNCTION EXPDP RETURN NUMBER IS
      h1 number;
      v_job_state       varchar2(4000);
    BEGIN
      h1 := dbms_datapump.open(operation=>'EXPORT',job_mode=>'TABLE',job_name=>'HARRY10');
      dbms_datapump.add_file(h1,'example1.dmp','DPUMPDIR1');
      dbms_datapump.add_file(h1,'example1.log','DPUMPDIR1',filetype => dbms_datapump.ku$_file_type_log_file);
      dbms_datapump.metadata_filter(handle => h1,name => 'NAME_EXPR',value => 'IN (''Data'')',object_type => 'TABLE');
      dbms_datapump.data_filter(handle => h1,name => 'SUBQUERY',value => 'WHERE "DataID" = 1');
      dbms_datapump.start_job(h1);
      DBMS_DATAPUMP.WAIT_FOR_JOB (h1,v_job_state);
      DBMS_OUTPUT.PUT_LINE(v_job_state);
      RETURN NULL;
    END EXPDP;But when I execute I get:
    ORA-31626: job does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 938
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 4592
    ORA-06512: at EXPDP", line 5
    ORA-06512: at line 5
    Probably not my day :(
    By the way... how can I Format the text as a script?
    Edited by: [Logik on 19.04.2013 11:01                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • OOD CRM Tables and Cols

    Hello:
    How can I go about extracting a list of User Tables and columns in our OOD CRM system?
    Thanks,
    -AJ
    Edited by: user11099680 on Dec 15, 2010 10:40 AM

    Bobb:
    Thanks for a quick response. We have customized our OOD application by removing/adding new columns. Is there a way we can get the tables and cols specific to our OOD application?
    Regards,
    -AJ

  • The Relation between tables and views in oracle financial

    Dears
    I am work in oracle e business r12
    and i need to build report as xml
    when run my select its need big time to view data i have a huge of data so i need to clear the relation of this tables if there is miss and if there another technique in select statement
    this is my select statement
    select
    j_hdr.je_header_id je_header_id,
    hdr.VENDOR_NAME supplier,
    SEGMENT1||'-'||SEGMENT2||'-'||SEGMENT3||'-'||SEGMENT4||'-'||SEGMENT5||'-'||SEGMENT6||'-'||SEGMENT7||'-'||SEGMENT8||'-'||SEGMENT9 Account_number,
    hdr.gl_date gl_date,
    j_hdr.CURRENCY_CODE CURRENCY_CODE,
    inv_lin.DESCRIPTION DESCRIPTION,
    j_lin.ENTERED_DR ENTERED_DR,
    j_lin.ENTERED_CR ENTERED_CR,
    j_lin.ACCOUNTED_DR ACCOUNTED_DR,
    j_lin.ACCOUNTED_CR ACCOUNTED_CR,
    j_hdr.JE_SOURCE JE_SOURCE,
    j_hdr.DEFAULT_EFFECTIVE_DATE Transaction_DATE,
    hdr.INVOICE_NUM INVOICE_NUM,
    QUICK_PO_NUMBER PO_NUMBER,
    null ASSET_CATEGORY_ID,
    hdr.VENDOR_ID VENDOR_ID
    from gl_je_headers j_hdr,gl_je_lines_v j_lin,ap_invoice_distributions dist,ap_invoices_v hdr,ap_invoice_lines_v inv_lin
    where code_combination_id = DIST_CODE_COMBINATION_ID
    and hdr.invoice_id = inv_lin.INVOICE_ID
    and dist.invoice_id = inv_lin.INVOICE_ID
    and j_hdr.JE_HEADER_ID = j_lin.JE_HEADER_ID
    and j_hdr.status = 'P'
    and nvl(:P_SOURCE,'Payables') = 'Payables'
    and je_source = 'Payables'
    and j_lin.CODE_COMBINATION_ID between ( select CODE_COMBINATION_ID
    from gl_code_combinations_kfv
    where CONCATENATED_SEGMENTS = :P_FROM_COMBINATION_CODE)
    and ( select CODE_COMBINATION_ID
    from gl_code_combinations_kfv
    where CONCATENATED_SEGMENTS = :P_TO_COMBINATION_CODE)
    AND TRUNC(dEFAULT_EFFECTIVE_DATE) BETWEEN NVL(:P_FROM_DATE, DEFAULT_EFFECTIVE_DATE) AND NVL(:P_to_DATE, DEFAULT_EFFECTIVE_DATE)
    Thanks in advance

    Welcome to the world of complicated Oracle Application queries. Didn't fully understand your question, so a few guesses -
    I think that you are asking how to make your query faster? I would reference the FAQ section on how to post a question regarding performance.
    Your title indicates you want to understand the relationship between tables and views. In general, Oracle Applications uses views for 2 reasons - to join data from multiple tables for display, and to differentiate data from different organizations. (I am still on 11i and have heard organizations are handled differently in 12 so I can't speak to that for sure).
    To understand the relationship between tables in a view, you can access the view's source code, either through a development tool such as PL/SQL Developer or TOAD (I'm guessing Oracle's tool does this also, but have never used it), or by querying the source from the dba_source table.
    select * from dba_source where name = (name of view) and type = 'VIEW' order by line;without the ( ) just the view name, in all capital letters i.e. , 'GL_JE_LINES_V'
    Good luck!

  • Hi guru's what is the difference between table and temlate in smartforms

    hi guru's what is the difference between table and temlate in smartforms

    Hi Vasu,
    Template is used for proper allignment of data which table is used for displaying multiple data.
    We can say Template is for static data and Table is for dynamic data.
    Suppose we have a requirement in which we have to allign the customer address in such a way as shown below:-
    Name- Vasu Company- WIPRO Location- Chennai
    Desig- S/W Native - Mumbai
    Then for proper allighnment we can create a template and split that into 3 columns and 2 rows and create text elements for each cell display a proper allighned data at the output.
    When we include a template inside a loop it gives the same property as a table.
    When we have mutiple data which is to be extended to the next page like when we display all employee details in a company we use table.
    Table has 3 sections , HEADER, ITEM ,FOOTER
    The header secntion will be executed once and it will loop at the item level. at the end footer will be executed.
    Hope this gives u some idea..
    <b>Please reward if useful</b>
    Regards,
    sunil kairam.

  • C150 The case application tried and failed 3 times...

    Hi All,
    Requesting some help with the IronPort C150 Alert below. Thanks for any suggestions, pointers, or experience you can provide regarding this issue.
    The Warning message is:
    The case application tried and failed 3 times to successfully complete an update. This may be due to a network configuration issue or temporary outage.
    Version: 7.5.1-102
    Thank you,
    --Liko

    Hi again,
    Luckily I found this post which was not located using the search utility.
    'CASE updates incorrectly timeout on 1U appliances'
    --Liko

  • Polling the master detail table and to update the LAST_UPDATED with SYSDATE

    Hi
    The requirement is polling the master detail table where read_flag is null and has to update the LAST_UPDATED with SYSDATE in both tables.
    Refered the MasterDetail and PollingPureSQLSysdateLogicalDelete samples of SOASuite.
    Used the delete polling strategy in polling process and modified the generated TopLink discriptor as follows.
    set the TopLink -> Custom SQL tab -> Delete tab with the following query
    for master table (RECEIVER_DEPT) :
    update RECEIVER_DEPT set READ_FLAG= 'S' , LAST_UPDATED=sysdate where DEPTNO=#DEPTNO
    set the TopLink -> Custom SQL tab -> Delete tab with the following query
    for Detail table (RECEIVER_EMP):
    update RECEIVER_EMP set LAST_UPDATED=sysdate where EMPNO=#EMPNO
    After deploying the bpel process data is updated in master(RECEIVER_DEPT) table with LAST_UPDATED as sysdate and read_flag as S
    however data is deleted in detail(RECEIVER_EMP) table rather than updated records.

    Xtanto,
    I suggest using JSP / Struts. UIX will be replaced by ADF Faces in JDeveloper 10.1.3 and thus I wouldn't suggest new developments to be started with UIX unless time doesn't allow to wait for ADF Faces. In this case develop UIX in an MVC1 model, using the UIX events for navigation because this model seems more likely to be mgratable, according to the UIX Statement of direction on Otn.
    Back to your question. You can create a search form in JSP that forwards the request to a StrutsData Action to set the scope of teh result set. The read only table can have a link or a button to call the detail page, passing the RoewKey as a string.
    Have a look at the Oracle by Example (OBE) tutorials that contain similar exaqmples.
    Frank

  • How can I wire a string value to the case selector terminal and depending on that value, execute a selected case?

    Hi Everyone
    In the block diagram of the posted VI, thru serial comm, byte #2 is either 00 or 01 (Hex). This byte should dictate which case to execute. If Hex value = 00 executes case #1, If Hex value = 01 executes case #2. If neither, nothing should execute.
    How can I do this? I am fairly new to LabVIEW any feedback is highly appreciated.
    Thanks
    Mahir
    Solved!
    Go to Solution.
    Attachments:
    testing whole string Bank A & B.vi ‏24 KB

    easier to just wire in the integer to the case structure rather than convert to string.  
    Then just go up to the case selector and type what you want.
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?

  • Accessing the data of Table and manipulating it

    Hi
    I've a table which returns data from RFM, on the basis of data I've to get checkboxes check/unchecked.
    The ModelNode is of following type:
        -0CONTEXT
         |-Model_Input
           |-EventId
           |-EventValue
    Now based on the value returned by EventValue i'll check the values of 2 checkBoxes.
    The context for the view is
      -0Context
       |-Z_sd_Input
       |  |-EventID
       |  |-EventValue
       |-Check1
       |-Check2
    I've binded my table with EventID, EventValue, Check1 and Check2.
    Now on the basis of each rows returned under the EventID & EventValue, I'll have to put the check or uncheck values in the table.
    I'm using following code:
    for(int i = 0;wdContext.node<model>.size();i++)
         if(wdContext.node<model_input>.getEventValue equals("2")
          wdContext.setCheck1(true);
          wdContext.setCheck2(false);
    But this code is not validating the condition. and puts all the checkboxes as true and false respectively.
    So for data under the EventValues have to be read and for each of them i've to give appropriate checks.. how do i do that
    Say the table return looks like this:
    EventId  EventVal    Check1  Check2
    Volume     2          true   true
    Weight     1           false  true... and so on.
    Can somebody provide solution for it.
    Thanks in advance
    Srikant

    If you define a calculated attribute, you get the node element containing that attribute as a parameter in the get-method.
    In your example, this is an element of the value node "X" containing the calculated attributes "Check{1,2}".
    To get the attribute values used to calculated the "Check{1,2}" value, you have to navigate up the context:
    element: element of "X", parameter of calc. attribute get-method
    element.node(): node "X"
    element.node().getParentElement(): node element containing "X" (remember it's a non-singleton)
    From the last node element you can get the attribute values to compute the value for the calculated attribute.
    Another solution using supply functions is described in Marcin's Weblog.
    Armin

  • The CPU fan starts with the case switch on and the system stops after 2 seconds

    Hi,
    I have just bought the MSI K8N Neo FSR (MS 7030) to build a new computer with (amongst others) an Athlon 64 3000 processor and an Enermax 3051 case.
    The CPU fan starts when I switch on the power with the switch on the back of the case, but stops after two seconds. I don't get anything when I push the Start button of the case.
    At the beginning I got some feeble orange light on the D-bracket LEDs. Now, there is nothing at all.
    I have tried to do a CMOS and also to put the Mobo out of the case after having disconnected the HD, the DVD reader, the floppy disk reader and all the Front panel connectors ===> nothing changed.
    The Power capacity of my case is 300 watts. I had computed on Power Supply Wattage Calculator (http://www.jscustompcs.com/power_supply/Power_Supply_Calculator.php?cmd=AMD) that it is quite sufficient for my system.
    Other materials on my system: the MSI FX5200-T and a PQI RAM PC 3200 which worked well on a former MSI Mobo (K7N2 Delta). I don't intend to keep this RAM on my new system but I use it to test it, before installing the Corsair Value which are on the system with which I write this post.
    Thank you in advance for your help.

    Finally, it appears that I had damaged the motherboard and the CPU.
    When I installed the CPU, I hesitated because the User's guide said that "the gold arrow should point towards the lever pivot", whereas the illustration and the AMD's one pointed towards the opposite corner. I had finally made the good choice (that of the illustrations), but I have certainly displaced some pins of the processor while hesitating.
    The shopper told me that MSI will never agree that its text had troubled me and refused to give me a new motherboard.
    I have finally bought an ASUS motherboard and, as I was fed up with the computer building, I paid a technician to do this job.
    I would like to mention two other mistakes in the MSI K8N Neo User's guide:
    - it devoted one page to the installation of the retention mechanism which was already installed.
    - there was no explanation about the mention of two "Power LED" connectors.
    I acknowledge that I have been stupid, since I should have asked the question of the direction of the golden arrow in a forum, where I would have found very quckly the right answer to my hesitation.
    However, I am revolted that MSI does not acknowledge that a grave mistake and two troubling omissions in the User's Guide can lead novice people to grave failures.
    I'll never more have confidence in a company that make such mistakes and does not assume its responsibility.
    Once again, thank you for your help.

  • Permissions disappearing from tables and views in SQL Management Studio

    As a CRM person, I sometimes have to update the database to cope with custom reports that I have written. Usually, I will
    Go into SQL Server Management Studio 2008
    Open the database
    Locate either the table or the view
    Right click on permissions
    Add in the role or user that's needed
    Grant them Select permissions
    This allows the report in CRM to access the database and this works.
    The problem I have is that after a certain amount of time, the user or role will disappear from the permissions meaning that the report will not run. Sometimes, this can be as soon as a couple of days or it can be months. It happens on views more than tables
    and, whilst it's not too difficult to put the permissions back, it is annoying for the users.
    I don't use SQL Server Management Studio very regularly, only to write a few queries and set up these permissions so I'm not sure if there's anything else in there that might be doing this. All suggestions would be very welcome.
    Thanks.

    Sounds like some process is removing/resetting permissions periodically
    if you are using enterprise edition you could try to catch this using auditing
    http://technet.microsoft.com/en-us/library/dd392015%28v=sql.100%29.aspx
    otherwise you would need some other custom tracing mechanism (SQL Trace, Extended Events, catching statements.. not fun)
    Andreas Wolter (Blog |
    Twitter)
    MCM - Microsoft Certified Master SQL Server 2008
    MCSM - Microsoft Certified Solutions Master Data Platform, SQL Server 2012
    www.andreas-wolter.com |
    www.SarpedonQualityLab.com

  • Generating mixed case for table and column names

    I trying to get table definition from Oracle 9i database into my toplink workbench
    (version 9.0.3), the column names and table names are capitilized by
    default, how do I change this to be mixed case? Thanks

    I'm not sure why you want them changed. The Oracle database by default is case insensitive, which in essence means it converts everything to upper case when a case is not specified (which can be done by wrapping it in quotes). Unfortunately, Java strings are case sensitive. This means that if you try searching resultsets for "TableName" when the database driver is returning "TABLENAME", you will run into problems. It is probably better to have your project match your database as closely as possible to avoid any issues later on.
    That said, I don't know of a way to automatically have the workbench use mixed case names - it uses the strings as they are returned from the database. I believe you will need to manually change the table names if you want them to be different than what you have imported.
    Best Regards,
    Chris

  • To create a fixed row in the bottom of table and to merge three columns

    Hi,
    I have a table displaying some values but is there any way to get a fixed row at the bottom which will sum the values above.
    ie
    service   business  jan       feb       mar      april
    table       cut          900       100      100      200
    chair       blade       100        200      300     400
    sum                       1000      300      400    600
    so the final row i need it to be constant even if i scroll down the table, this row should be always fixed and visible. and the table data are filled dynamically.. so i dont know the no of rows available as well.
    How can I do it. Any insight on it will be helpful.
    Thanks and Regards
    Tenzin

    Hi,
    CL_WD_TABLE - >SET_FOOTER_VISIBLE where you can provide that summation in the footer.
    As you are calculating the sum there will be the Name for that field to hold summation value right.
    Based on the name of that field you can set it to the footer by passing the necessary paramters to that
    method.
    How are you filling the table.
    Regards,
    Lekha.

  • How to correct the case of letters and word spacing in some text

    if the user inputs the text:
    bird-watchers LOVE to watch birds.birds don't liKE
         being watched,so bird-watchers build boxes,called "hides" ,in which they
         can hide While they watch the birds .
    the program should output:
    Bird-watchers love to watch birds. Birds don't like being
    watched, so bird-watchers build boxes, called "hides", in which
    they can hide while they watch the birds.
    Sentences start with a letter in upper case.
    All other letters must be in lower case.
    There should be two spaces after a period (.).
    There should be one space after a comma (,).
    Teacher said that reuse the right classes from the Java API would be easy to solve this problem, who can tell me a easier way to solve this problem

    Got Eclipse running OK now then? It's my favorite IDE so far.
    Check out java.util.StringTokenizer and java.io.StreamTokenizer classes. Which you choose depends on what you're planning to do, but reading the APIs should help you decide.
    luck.

  • My phone was not sealed in my waterproof case correctly. It was in my hand underwater for at the most a minute.  The case is off and its in a bag of white rice sealed. HELP!

    HELP MY PHONE HAS WATER DAMAGE! IT WAS UNDERWATER FOR ABOUT 1 MINUTE AT THE MOST. IT WASN'T SEALED PROPERLY IN MY WATERPROOF CASE. HELP PLEASE!

    If it was underwater for about a minute, then you can probably figure it is finished. If you have it in rice, you can leave it there for about a week and see if that will help, but I doubt it. I would just take it to Apple and get an out of warranty replacement. The cost for an iPhone 4 is $149, US. Check to see what it is where you might be.

Maybe you are looking for

  • Slow MacBook

    My MacBook has seems A LOT SLOWER than usual the past couple of days. What happened and what can I do to fix it? Thanks! MacBook   Mac OS X (10.4.10)   2.16 GHz Intel Core 2 Duo, 1GB of DDR2 SDRAM, 160 GB 5400-rpm hard drive

  • SharePoint 2010; Re-using profile and social database in User profile service applicaiton

    Hi Using ms server 2008r2, sql 2008r2, 2 WFE and 1 Appserver and SQL cluster. I have restored my User profile service application using restored databases profileDB and SocialDB, the SyncDB was recreated as i had problems starting the user profile sy

  • Sysfail status

    Hi all,                  In Moni .all the messages are waiting in queue and queue status is SYSFAIl ..when ever i release the key message went through ,..what type of problem is this..is this because of communication between the two systems failed or

  • IMovie "Application Unexpectedly Quit" - can't open software

    Help! iMovie won't open from Dock or by clicking on existing iMovie files. New iMac of about a month or so, so little potential of a lot of downloads and conflicts. Tried Apple's "support doc" troubleshooting - already have latest versions of OS X (1

  • CUCM Security - Are Jitter, Latency and Packet Loss Stats in Clear Text ?

    I've reviewed the Cisco Unified Communications Manager Security Guide and see no suggestion that implementing encryption prevents MoS scoring.  In other words, when you implement encryption, do you still have access to jitter, latency and packet loss