Lower case table_name in all_objects table

Hi.
Because I don't have SQL Loader and I have to import some data from text files I am using SQL Server 2000 to import data from text files and then export the data to my oracle table.
Something interesting is happening.
When I filled the destination table name I had it in lower case, let's say table_name.
The export was successful. When I'm logging to my schema and have select * from table_name I'm getting an error that the table doesn't exists. When I'm looking in the all_objects I can find my table name, the problem is that it is in lower case as opposed to all the others which are upper case.
I have done the same process but choosing the table name as TABLE_NAME(upper) and everything worked, I can see the table.
My question now is why this happened (For export I used Microsoft OLE DB Oracle Provider) and how can I get rid of the lower case table_name table.
Thank you.
Claudia.

You want to:
CREATE TABLE table_name AS
SELECT * FROM "table_name";
Confirm that table_name looks good, and then:
DROP TABLE "table_name";
Scott

Similar Messages

  • Cannot Drop table with lower case name

    Hi,
    One of my developer created a table through application in oracle 10g R2,
    when I list tables
    select * from tab;
    the table name is shown in lower case or Initcap.
    I cannot drop or manipulate that table.
    How can I drop that table(s)?
    Thanks & Regards,
    Fahim

    use the same case what your table has used and put double quotes on both sides for example if your table is lower case use like:
    DROP TABLE "your_table";HTH
    Ghulam Mustafa Butt

  • How to CHECK WHETHER LOWER CASE OR UPPER CASE  IN CUSTOM TABLE

    Dear Friends,
                     I have a requirement where from  the flat file  i have collected into the internal table is as below :
      IDNo.     Name     Date      Location   Designation  Dept
      101       raja      4/12/2007  Delhi      manager      HR
      102       james    4/12/2007  Delhi      clerk          HR
    now iam checking against my custom table where iam   if the designation for the employee name already exists then i shouldnt modify/update the custom table that record
      now iam facing a problem where is the flat file is always having the Lower Case only ,
    as per the scenario  if my custom table already have the employee name i shouldnt modify/update i.e i shouldnt overwrite,
    this scenario is working but it is failing in the case
    by chance in the Custom table the employee name or designation is in Upper Case  the condition where iam checking in the code  is failing as the flat file data coming into the internal table is having always lower Case.
    So could any one please let me know how i should check in my custom table whether iam having upper case or lower case and how can i make it lower case ?
    because iam able to manage in the case where if the flat file data coming in Upper case i can check before only by
    using Translate to lower case . how i unalbe to  check for the data coming from the Custom table if  in Uppercase , so i want to change that to lower case then checking my condition whether that data already exists in my custom table before modifying the data coming from the flat .
    because the condition is failing when the data in the custom table is in upper case and the Flat file data is in lower case.
    please help how i can check for the data in the Custom table is in upper case and then change it to lower case.
    Regards
    Madhuri.

    Hi Madhuri,
    Translate both data in your flat file & custom table to lowercase before comparing them. With that, you're able to identify if there's a differences in for both data.
    If you're putting data that is pulled from custom table, what you can do is after selecting/reading the data, translate to lowercase or uppercase (whichever you prefer) but make sure if you translate to lowercase, your data in the flat file must be lowercase to and vice versa.
    Happy doing !!..
    Regards,
    Loo

  • Select in both upper and lower case on text tables- Is it possible

    Hi all,
    I have below data in my data base.
    SULPH1
    SULPH2
    Sulph3
    I am querying the descritpion table with like operatior. if I query with SUL, I am getting 2 records, If I query with Sul I am getting only one record. it is possible to get all the 3 reocrds in one search like SUL or Sul?
    Thanks in Advacne.
    Vr reddi.

    Hi  vrreddi,
    independent of the lower case indicator programs are still able to store lower case data-
    In this case, use
    SELECT <whatever or *>
      INTO <target structure>
      FROM <DD TABLE NAME>
      WHERE ...
    CONVERT  <target structure-your field> TO UPPERCASE.
    CHECK <target structure-your field> IN S_SELECT.
    APPEND <target structure> to <internal table>.
    ENDSELECT.
    Regards,
    Clemens

  • Hibernate for lower case data(case sensitive) in oracle 10G

    Hi,
    I generated my data (oracle 10G release 2) using lowercase data types and table names. This requires queries in the strict form of -
    Select "Column_Name" from "Table_name";
    But Hibernate makes the queries as -
    Select Column_Name from Table_Name;
    driver I am using is oracle.jdbc.driver.OracleDriver
    Jar is ojdbc14
    and dialect is org.hibernate.dialect.Oracle9Dialect
    The problem is:
    table or view does not exist.
    as it(lower case data) does not recognize the hibernate query format.
    Can anyone suggest the proper driver and Jar to overcome the problem.
    Regards,
    Ankit

    Ankit,
    Just bite the bullet and don't use case-sensitive identifiers :-)
    I don't use "hibernate", but maybe you can add the double-quotes -- " -- in the XML file?
    I don't think there's a JDBC driver that adds the double-quotes for you. So I think your only option (if you insist on using case-sensistive identifiers) is to explore possibilities through "hibernate" itself.
    I also don't think there's any database setting that allows Oracle to accept case-sensitive identifiers.
    Good Luck,
    Avi.

  • Update data to upper case in parent/child tables

    Hi Gurus!
    In production we have a product table and which is being reference by many tables making it parent child relationship. By mistake, we realized that last month some product were added in lower case and now we got a request to update all these product codes to upper case so that the existing code that use these tables have no impact. Appreciate if you can give some idea on how can I update the existing data in the parent table to upper case along with the child records?
    Regards
    Sri

    Are the product code that you need to update what is stored in the child tables? If so, then you would need to do it in several steps, something like:
    Identify the child tables
    SELECT table_name, constraint_name
    FROM user_constraints
    WHERE r_constraint_name = (SELECT constraint_name
                               FROM user_constraints
                               WHERE table_name = 'PRODUCT_TABLE' and
                                     constraint_type = 'P');Create the new upper case product code in product table:
    INSERT INTO product_table
    SELECT UPPER(product_code), other_columns
    FROM product_table
    WHERE product_code <> UPPER(product_code);Update the child tables to uppercase the product codes
    UPDATE child1
    SET product_code = UPPER(product_code)
    WHERE product_code <> UPPER(product_code);finally, delete the lower case product codes from product_table
    DELETE FROM product_table
    WHERE product_code <> UPPER(product_code);John

  • XML element names required in lower case

    Hi,
    I am on release 4.6C
    I create an XML file from internal table using FM SDIXML_DATA_TO_DOM and SDIXML_DOM_TO_XML.
    The internal table is defined such that the  fieldnames of internal table are same as element names in XML file.
    The XML file gets created properly, but the element names appear in upper case.
    The requirement is to have it in lower case.
    Does anybody have any idea about how to control the case here?

    Hi Sudhir
    you can convert field names manually using translate command to convert it to lower case.
    hope this helps.

  • Case issue in Database table

    Hi All,
    We have an issue of lowercase in database table and we want to convert that lowercase data to upper case. The code for doing this operation is as follows:
    SELECT * FROM zehs_volumes INTO TABLE i_volumes_temp.
    LOOP AT i_volumes_temp.
    DELETE zehs_volumes FROM i_volumes_temp.
    IF sy-subrc is INITIAL.
      COMMIT WORK.
    ELSE.
      ROLLBACK WORK.
    ENDIF.
    TRANSLATE i_volumes_temp-zehs_business TO UPPER CASE.
    MODIFY i_volumes_temp.
    CLEAR i_volumes_temp.
    ENDLOOP.
    SORT i_volumes_temp BY SUBID ZEHS_BUSINESS ZEHS_SITE ZEHS_ROLE
                           ZST_DATE ZED_DATE.
    DELETE ADJACENT DUPLICATES
    FROM i_volumes_temp COMPARING SUBID ZEHS_BUSINESS ZEHS_SITE
                                  ZEHS_ROLE ZST_DATE ZED_DATE.
    MODIFY zehs_volumes FROM TABLE i_volumes_temp.
    IF sy-subrc is INITIAL.
      COMMIT WORK.
    ELSE.
      ROLLBACK WORK.
    ENDIF.
    The problem wid the above code is that it first clears the entire database table and then fills it with the modified data from the internal table. But we do not want to take risk of emptying the database table. Is there any way out to perform the above operation?
    Thanks in advance
    Regards,
    Yogesh Sharma

    Hi Karthik,
    Thanks for replying.
    In our case the scenario is we need to delete wrong entires in the database table based on the primary input fields. There is already a utility to do so. But in the table some of the entries are present in the lower case.
    For eg. Suppose we need to delete entry with field zehs_business = "Pioneer". When we input this SAP interpret it as PIONEER and we get an error message "No data exist".
    So the code should we in such a way that all the value in field zehs_business should be translated to upper case otherwise SAP will give an error message of non-existence of data.
    The code which you gave adds one more entry in database table with zehs_business = "PIONEER". Now the database table have two records one with "Pioneer" and other with "PIONEER". After the execution of DELETE statement only the record with zehs_business = PIONEER gets deleted....and the other record still exist.
    Is there any way to avoid above situation....

  • Internal Order match-code fail becuase Upper-Lower case

    Hi
    I'need to search Internal Order using a piece of teh Order description.
    Unfortunately the description COAS-KTEXT is case sensitive, and the Order is not found if Upper/lower case rules are not respected. I Have create a new Z match-code, bust this has the same problem.
    Any Idea to solcve thsi issue ???
    Thanks for your help.
    Claudio

    Hello
    pls check OSS note 75233, is decribed the solucion you are looking for.
    Solution
    Check whether an F4 search for short text is required.
    You must then either allow for the fact that the selection criteria "short text" is case-sensitive, or you can change all the short text to uppercase. This change is then effective during all displays and entries of the short text for the order and cannot be reversed. Any information which is provided in lowercase letters is then lost.
    You should also consider creating an index for the field AUFK-KTEXT.
    If you want to change to uppercase letters, proceed as follows:
    1. Modify the table AUFK. The field KTEXT requires another data element with a domain in which the flag "lowercase letters" is not marked. The most effective solution is to copy the data element and the domains and in addition to the descriptions, change only flag "lowercase letters"
                  This change means that for overhead cost orders (transactions KO01, KO02) only short text in uppercase letters can be recorded. 
    2. To change the already existing database entries to uppercase letters run report RDOTXT2U which is contained in the standard program and the current version of which is shown below. Please read the documentation for this report.

  • Uppercase / Lower case

    Dear Master's,
    I created editable alv,when i press save from report data get saved in table as UPPER case.But i want data will save as UPPER/LOWER case. Please help
    Thanks & Regards
    Atul Singh

    Hi Atul,
    Please check the data type of the fields that you are using. If it is a character type that does not allow lower case letters then data would surely get converted to upper case.
    So, instead, try to use a field type for which the 'Lower Case' checkbox in its domain is selected.
    Regards,
    Aparna Alashe.

  • TopLink map a field which name in low case

    I used Oracle ADF to modeling my database table. My table name and all filed names are in low cases. I used TopLink Create Java Objects from Tables wizard to crate Java objects from my table, and created map. In the TopLink mapping, the query keys are in low cases. But when my session bean execute the named query, the query statement from executeQuery doesn't put double quotes around the filed name and table name. The query statement like: select name from space. So it will cause error like "java.sql.SQLException: ORA-00942: table or view does not exist". The query statement should like:
    select "name" from "space";
    Can anyone tell me where to edit the mapping or customize code to put double quotes around field name and table name?

    I'm not sure if the JDev UI has an option to output table and field names with quotes. You could use a SessionCustomizer in your TopLink sessions.xml file to iterate over the Session's descriptors and change each of their table and field names to include the " character.
    In general you will make you life much easier if you just create the tables and field using normal upper case or case insensitive names.
    It would be nice to have an easier way to quote all table and field names, please feel free to log this issues on EclipseLink Bugzilla.
    James : http://www.eclipselink.org

  • Find character in lower case

    Hi,
    I've this table TAB_ID:
    ID.....................NAME
    1......................AbCCCC
    2.....................ABBBBB
    3.....................ZxxxZZZZ
    4.....................aaaaaaaB
    5.....................CCCCCC
    8.....................DDDDDD
    0.....................AAAAAb
    I'd like to find any string NAME with at least one character in lower case.
    In my case I get:
    ID.....................NAME
    1......................AbCCCC
    3.....................ZxxxZZZZ
    4.....................aaaaaaaB
    0.....................AAAAAb
    How can I write my query to get this output?
    Thanks in advance!

    try this...
    SQL> with tab_id as
    2 (select 1 ID ,'AbCCCC' sname from dual union all
    3 select 2,'ABBBBB' from dual union all
    4 select 3,'ZxxxZZZZ' from dual union all
    5 select 4,'aaaaaaaB' from dual union all
    6 select 5,'CCCCCC' from dual union all
    7 select 6,'aaaaaaa' from dual union all
    8 select 8,'DDDDDD' from dual union all
    9 select 9,'AAAAAb' from dual)
    10 select * from tab_id
    11 where upper(sname) != sname;
    ID SNAME
    1 AbCCCC
    3 ZxxxZZZZ
    4 aaaaaaaB
    6 aaaaaaa
    9 AAAAAb

  • Case statement to find if 3rd character is lower case

    Hi,
    Im trying to write a query that checks if the value's 3rd character in not a capital print Y if it is print N.
    Select Name, (Case 3rd charter of Name is lower case then 'Y' else then 'N'), age from persons table;
    Results:
    John Y 50
    Mary Y 40
    TED N 30
    Any ideas?
    Thanks,
    Sean

    WITH PERSONS AS (
                     SELECT 'John' name,50 age from dual union all
                     SELECT 'Mary' name,40 age from dual union all
                     SELECT 'TED' name,30 age from dual
    SELECT  NAME,
            CASE SUBSTR(NAME,3,1) WHEN LOWER(SUBSTR(NAME,3,1)) THEN 'Y' ELSE 'N' END X,
            AGE
      FROM  PERSONS
    NAME X        AGE
    John Y         50
    Mary Y         40
    TED  N         30
    SQL> SY.

  • Upper / Lower case using SQL

    Hello friends,
    i have to read a field out of a dbtable. The field contains e.g. a string like "a11B". During the sql selection i would like to use upper or lower case to transform the string to "A11B":
    SELECT...WHERE UPPER(attribute) IN range_variable.
    Can somebody say how this command looks like in abap?
    I haven't found a command for abap like UPPER() or UCASE() using mysql.
    <<help>>
    daniel

    Depending on you database system, you can use native SQL. For Oracle:
    report ztest no standard page heading.
    tables lfa1.
    data: name like lfa1-name1 value 'TEST'.
    EXEC SQL.
      SELECT *
      INTO :LFA1
      FROM  LFA1
      WHERE UPPER(NAME1)  =  :NAME
    ENDEXEC.
    This will select where the name is "Test" or "TEST" or other combinations.
    Rob

  • 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

  • Add apps to Open With in context menu

    is it possible for example to add Preview to "Open With.." menu when I right click on Folder? because it's anoying to choose Preview every time when I click Other to achieve that Preview will create thumbnails of all pictures in that folder

  • My password list no longer appears under the options menu, How do I get it back?

    The password manager that used to appear under the options menu has completely disappeared. The little lock icon is also nowhere to be found. Does this have something to do with blur? How do I restore my browser the way it used to be so that I can re

  • Apple TV and powerpoint

    I am trying to find a way to view my powerpoint presentations on my TV via Apple TV. Is that possible. I have been told that Apple TV only views material from itunes can I put a powerpoint slide show on itunes? How can I get my slide show to work wir

  • New Lightroom CC will not open.

    Hello All, After updating to Lightroom CC 2015, it will not launch when i click on the icon. Photoshop CC will open just fine. I already tried uninstalling/re-installing it. The application starts to open then closes. I am using windows 8.1 pro

  • TS3899 How to verify my mail

    How to use my my account Anad my iCloud not verify