It is possible to have two tables of same name in Oracle !

Oracle Version:10gR2
In MS-Access 2007, I had to use the 'Export' feature by which i copy a table (and its data) to an Oracle Schema via ODBC connection. Later i realised that , when copying tables with a mix of lower and upper case names , the table does not get copied(exported).But MS-Access will give you the message that Table got successfully exported.
MS-Access messes around with Oracle Data Dictionary.
When you issue
SQL>select * from tab;
TNAME                          TABTYPE  CLUSTERID
AMStates                       TABLE
Version                        TABLEYou'll see the table names . But when you try to DESCRIBE or SELECT this table, you'll get
SQL>desc Version
ERROR:
ORA-04043: object Version does not existYou can even create another table with same name in this schema
SQL>create table VERSION (X NUMBER);
Table created.Why is this happening and how can i drop these "non-existent" objects?

sometimes when you use third party clients (ODBC particularly) to create tables, you have to double-quote them to access them. tables names are case sensitive in this case. it is the same situation as if you want to use special caracters.
so, you have to issue select * from "Version" .
you can also have the same problem with the connection string.

Similar Messages

  • Is it possible to migrate two database with same name (e.g.DB1 and db1)?

    Hi,
    I am trying to migrate two Sybase databases "DB1" and "db1".
    In sybase "DB1" and "db1" are two different database.
    OMWB doesn't complain anything but i am not able to see objects of "db1" database.
    I noticed one thing that OMWB metadata has two entries for objects in database "DB1"
    e.g.:
    atwal2ora_dsn> select * from REPUSER.SYBASE12_SYSUSERS order by name;
    ------------------------------------------------------------------------------------------------------------------------+
    | DB_ID | SUID | UID | GID | NAME | ENVIRON |
    ------------------------------------------------------------------------------------------------------------------------+
    | 5 | -2 | 16395 | 16395 | TEST_GROUP1 | |
    | 5 | -2 | 16395 | 16395 | TEST_GROUP1 | |
    | 5 | 4 | 3 | 16395 | TEST_USER1 | NULL |
    | 5 | 4 | 3 | 16395 | TEST_USER1 | NULL |
    Thanks for your time
    Mohinder

    Mohinder,
    Yes, its possible, but you seem to be using non case sensitive db settings. DB1 and db1 may be different but when we get to capturing the metadata about the db, this is getting confused.
    I'd recommend keeping 2 repositories, one for each database.
    Barry

  • Is it possible to have 2 tables with the same name in an Orable database?

    Hello,
    I'm a complete Oracle newbie so please excuse my question if it's stupid.
    I was trying to create 2 tables with the same name using different tablespaces but it does not seem to work. Like this (second time just change the name of the tablespace):
    CREATE TABLE test_tbl (
      id INTEGER,
      status VARCHAR2(10),
      last_modified DATE DEFAULT SYSDATE
    TABLESPACE tblspc1Is it in general in Oracle possible to acquire this goal?
    Thanks a lot!
    P.S. I have already created the needed tablespaces
    CREATE TABLESPACE tblspc1 DATAFILE 'tblspc1.dbf' SIZE 10MEdited by: 808239 on 02-Mar-2011 02:18

    It is not possible to create two tables with same name in same schema.
    A user can own one schema with his own name and another with the schema name SYS.
    For this you have to grant sysdba privilage to the user and then have to connect using sys password or with the password specified in password file.
    But this still you have to access to the table in sys schema using sys.table_name.
    Hope Answered tthe Question.

  • Search help value restriction in two tables having same value table

    Hi Gurus,
    I have two tables containing same field having same domain with value table. My requirement is to restrict the values in the tables. For example the field contains 4 values:
    1) A
    2) B
    3) C
    4) D
    For table 1, only A and C should be seen in F4 and for table 2, only B and D should be seen. Also if somebody forces  B or D
    in 1st table should not be allowed and the same for 2nd table ( A & C are not allowed ). How to do this using search help exit . Which event should I use. I don't want to create two separate check tables containing only the required values.
    Regards,
    Debopriyo

    Hi Gurus,
    I have two tables containing same field having same domain with value table. My requirement is to restrict the values in the tables. For example the field contains 4 values:
    1) A
    2) B
    3) C
    4) D
    For table 1, only A and C should be seen in F4 and for table 2, only B and D should be seen. Also if somebody forces  B or D
    in 1st table should not be allowed and the same for 2nd table ( A & C are not allowed ). How to do this using search help exit . Which event should I use. I don't want to create two separate check tables containing only the required values.
    Regards,
    Debopriyo

  • How to check relation between two tables in same database

    How to check relation between two tables in same database using Oracle SQL developer. Version 2.1.1.64

    Hi,
    Try this,
    SELECT   cons.owner AS child_owner, cons.table_name AS child_table,
             cons.constraint_name constaint_name,
             cons.constraint_type constraint_type, col.owner parent_owner,
             col.table_name parent_table, col.column_name column_name
        FROM dba_cons_columns col, dba_constraints cons
       WHERE cons.r_owner = col.owner
         AND cons.r_constraint_name = col.constraint_name
         AND col.owner = 'MY_USER'
    ORDER BY child_table;Thanks,
    Shankar

  • Two methods with same name but different return type?

    Can I have two methods with same name but different return type in Java? I used to do this in C++ (method overloading or function overloading)
    Here is my code:
    import java.io.*;
    public class Test{
    public static void main(String ar[]){
    try{          
    //I give an invalid file name to throw IO error.
    File file = new File("c:/invalid file name becasue of spaces");
    FileWriter writer = new FileWriter(file ,true);
    writer.write("Test");
    writer.close();     
    } catch (IOException IOe){
         System.out.println("Failure");
    //call first method - displays stack trace on screen
         showerr(NPe);
    //call second method - returns stack trace as string
            String msg = showerr(NPe);
            System.out.println(msg);
    } // end of main
    public static void showerr(Exception e){
         StringWriter sw = new StringWriter();
         PrintWriter pw = new PrintWriter(sw);
         e.printStackTrace(pw);
         try{
         pw.close();
         sw.close();
         catch (IOException IOe){
         IOe.printStackTrace();     
         String stackTrace = sw.toString();
         System.out.println("Null Ptr\n" +  stackTrace );
    }//end of first showerr
    public static String showerr(Exception e){
         StringWriter sw = new StringWriter();
         PrintWriter pw = new PrintWriter(sw);
         e.printStackTrace(pw);
         try{
         pw.close();
         sw.close();
         catch (IOException IOe){
         IOe.printStackTrace();     
         return sw.toString();
    }//end of second showerr
    } // end of class
    [\code]

    Overloading is when you have multiple methods that have the same name and the same return type but take different parameters. See example
    public class Overloader {
         public String buildError(Exception e){
              java.util.Date now = new java.util.Date() ;
              java.text.DateFormat format = java.text.DateFormat.getInstance() ;
              StringBuffer buffer = new StringBuffer() ;
              buffer.append(format.format(now))
                   .append( " : " )
                   .append( e.getClass().getName() )
                   .append( " : " )
                   .append( e.getMessage() ) ;
              return buffer.toString() ;
         public String buildError(String msg){
              java.util.Date now = new java.util.Date() ;
              java.text.DateFormat format = java.text.DateFormat.getInstance() ;
              StringBuffer buffer = new StringBuffer() ;
              buffer.append(format.format(now))
                   .append( " : " )
                   .append( msg ) ;
              return buffer.toString() ;
         public String buildErrors(int errCount){
              java.util.Date now = new java.util.Date() ;
              java.text.DateFormat format = java.text.DateFormat.getInstance() ;
              StringBuffer buffer = new StringBuffer() ;
              buffer.append(format.format(now))
                   .append( " : " )
                   .append( "There have been " )
                   .append( errCount )
                   .append( " errors encountered.")  ;
              return buffer.toString() ;
    }Make sense ???
    Regards,

  • Is it possible to have two USB drives for the IPad?  I want to bring RAW photo files from my camera, through the IPad and back to an external hard drive.  One of my cameras does not use an SD card.  How can I do this?

    Is it possible to have two USB drives for the IPad?  I want to bring RAW files from my camera through the IPad and out to an external hard drive.  One of my cameras has an SD card but the other one doesn't have a card that would fit in any of the camera devices I've seen on line.  Realted to this, I bought the IPad camera accessory.  Can I put the SD card in the device and also hook the external hard drive to the USB port of the accessory and download from the camera to the hard drive?  Can I put Lightroom or the Nikon photo editing software on the IPad?  Right now I carry a PC laptop and external hard drives with me on wildernes trips.  Internet and WiFi are not available.  Because I shoot so many photos and they're in RAW I need to download from the camera to the external drive because I run out of memory on the PC (and it has much more memory than the IPad).  I have Nikon NX software and lightroom on my PC.  I'd love to be able to reduce the weight I carry by using the IPad to edit my photos each night while on trips.  Is this possible and how would I do it?  I'd appreciate any guidance.

    No, the camera connection kit only supports the copying of photos and videos to the Photos app, it doesn't support copying content off the iPad. For your second camera instead of the SD reader part of the kit, does the iPad to camera cable not work with it for direct transfer to the iPad ?
    For Lightroom and Nikon software again no - you can only install apps that are available in the iTunes app store on your computer and the App Store app on the iPad, 'normal' PC and Mac (OS X) software are not compatible with the iPad (iOS). There are some apps that perform fairly basic editing functions that are available in the store, but nothing as sophisticated as, for example, Lightroom.

  • HT204053 Is it possible to have two (or more) different icloud mail accounts (not alias) under the same apple id? If not what is you best advice for all family members to have their own e-mail and still share the purchases under the same apple id. Thanks

    Is it possible to have two (or more) different icloud mail accounts (not alias) under the same apple id? If not what is you best advice for all family members to have their own e-mail and still share the purchases under the same apple id. Thanks

    mannyace wrote:
    Thanks for the response.
    So I basically won't run into any trouble? I
    There should be no issues. Its designed to work like that.  You don't change Apple IDs just because you get a new device.
    mannyace wrote:
    Thanks for the response.
    Is there any chance that the phones can fall out of sync?
    Unlikely. But nothing is impossible.   Though I don;t see how that would happen. As long as both are signed into the Same Apple ID / iCloud Account they will be N'Sync. (Bad Joke)
    mannyace wrote:
    Thanks for the response.
    If I get a message or buy an app or take a photo on the iPhone 5, how do I get those things onto the iPhone 6?
    If you buy an App, you have 2 ways to get it to the iPhone6: If Automatic Downloads is enabled in Settings->iTunes & App Store, it will automatically download to the iPhone 6 when you buy it on the 5 and vice versa if you buy it on the 6, it will download to the 5.
    Alternatively, you can simply go to the App Store App->Updates->Purchased and look for the App there and download it. Purchased Apps will not require payment again. i.e They'll be free to download to the iPhone 6 once purchased.
    SMS Messages will sync over using Continuity as long as they are on the same Wifi network. Otherwise, restoring the iPhone 5 backup to the iPhone 6 will transfer all messages received up until the backup was made onto the iPhone 6.
    Images, can be transferred either through Photo Stream
    My Photo Stream FAQ - Apple Support
    Or any Cloud service you want such as Dropbox, or One Drive.
    mannyace wrote:
    Also, something i forgot to ask initially: Should I update the iPhone 5 to iOS 8 first or does that not matter?
    If you want the Continuity features as explained above you need to update the iPhone 5 to iOS 8. Otherwise its not all that important.

  • Is it possible to have two apple loans under one account?

    So back in June my mum took up apple finance so I could get a macbook and pay her each month (I was under 18 at the time and have no credit history) and that went through within a minute no issues..
    Now I face another issue, I want the new iphone 5s but still within my current iphone 5 contract I can't get out of but that aside my question is:
    Is it possible to have two apple loans under one bank account? (the iphone one being much smaller than the existing mac loan)
    If not, I'll simply have to save up £700.
    Thanks~

    Hi babowa,
    The reference to two Apple loans led me to believe it was two Apple finance deals in conjunction with, for example, a Barclays Bank tie-up as we appear to have here in the UK.   As you suggest, the payment is a matter between the poster and his mom, but I think that behind all this is the question of whether the poster's mom can have two separate accounts in this way.   Which of course, she can.

  • Hi can someone tell me if it is possible to have two accounts (from different countries) in the same laptop?

    Hi can someone tell me if it is possible to have two accounts (from different countries) in the same laptop?

    Hi...
    The issue is that your credit or debit card credentials must be associated with the same country where you reside to make purchases.
    "Although you can browse the iTunes Store in any country without being signed in, you can only purchase content from the iTunes Store for your own country. This is enforced via the billing address associated with your credit card or other payment method that you use with the iTunes Store, rather than your actual geographic location."
    From here >  The Complete Guide to Using the iTunes Store | iLounge Article
    Billing policy is the same for both the iTunes as well as Mac App Stores.

  • Isit possible to have two Ni elvis writer in one Vi using the same device and using 2 different NI elvis?

    Hi is it possible to have two writer in one Vi with one elvis  and also use two different elvis on one Vi? I hope someone can or know the answer.

    If memory serves me correctly, an NI Elvis board connects to a PCI card in a PC if you want 2 Elvis boards then you will need 2 PCI cards. 
    Certified LabVIEW Architect
    Certified Professional Instructor

  • Is it possible to have two phone numbers ring one iPhone?

    Is it possible to have two numbers ring one iPhone, in other words, a second line on the same phone?
    Thanks.

    You could get a Google voice account and have it forwarded to your iPhone (and other phones). This would effectively give your iPhone the capability of receiving calls to 2 different numbers and making calls from 2 different numbers. Although the Google voice capabilities on iPhone are somewhat awkward.

  • Is it possible to have two Firefox browsers (3&20) on the same OS?

    I have been using my 3.6.28 Firefox for more than 3 years and still want to use it in the future. Some functions are not working when I visit websites so I need to install the newest as to see them. I have Google Chrome as my second browser but would like to swap it for the latest Firefox. Read on some forum that its not possible to have two Firefox browsers on the same Win OS. Is it possible to have both my old Firefox 3 and Firefox 20 installed on the same Win XP OS as teo different programs?

    Yes it is possible, but you need to create a new profile for the 2nd version.
    http://forums.mozillazine.org/viewtopic.php?f=23&t=2249039

  • Is it possible to have two DADs that access the same database?????

    Hello,
    Is it possible to have two DADs that access the same database?
    One DAD would be password protected with Authentication mode Per Package and the other DAD would not require a password/login
    If it is possible can you also give suggestions about how to do this
    Thanks
    Doug

    I HAD THE SAME PROBLEM WITH SHARING MY LIBRARY WITH MY SON. WHAT I DID WIAS CREATED A LIBRARY FOR HIS USE ONLY. IN ITUNES CLICK--FILE--NEW PLAYLIST AND THIS SHOULD ADD AN UNTILED PLAY LIST IN YOUR SIDE BAR. CLICK ON IT AND RENAME IT. HE CAN KEEP ALL OF HIS MUSIC IN THIS LIBRARY. SELECT ALL OF HIS MUSIC FROM YOUR LIBRARY AND DRAG IT INTO HIS. ONCE THIS IS DONE YOU CAN THEN REMOVE HIS SONS FROM YOU PLAY LIST. MAKE SURE YOU ONE REMOVE IT FROM YOUR PLAY LIST AND NOT DELETE THE FILE.
    HOPE THIS HELPS
    G4   Mac OS X (10.3.9)  

  • Is it possible to have two versions of Muse on one Machine?  WhenI open Muse from my program menu in WIndows 7 it comes up the way I am used to.  I did an upgrade a week or so ago and now I have an Adobe Muse CC 2014 on my desktop.  WhenI open the applica

    Is it possible to have two versions of Muse on one Machine?  WhenI open Muse from my program menu in WIndows 7 it comes up the way I am used to.  I did an upgrade a week or so ago and now I have an Adobe Muse CC 2014 on my desktop.  WhenI open the application that way the GUI interface looksw totally different, more like Illustrator.  What is that all about?

    Since posting the above, I have resolved a sensible work-around in regard to ebookstores which prefer us to have separate accounts for our separate Adobe IDs.
    However, I really would appreciate it if anyone here can confirm that a DRM controlled book does actually become associated with a particular Adobe ID account at the time of first download to Digital Editions on that PC/device.
    Two large book stores have said using my account with them to download books to our two separate Adobe IDs is OK, but I don't want to find my husband is unable to open his downloaded books.
    Thank you folks for any advice you can give,
    Sue

Maybe you are looking for