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

Oracle Version: 10 gr 2

MS Access 2007, I had to use the 'Export' by which I copy a table (and its data) to an Oracle schema via an ODBC connection. Later, I realized that, during the copy of tables with a mix of lower and upper case names, the table does not copied (exported). But MS Access will give you the message that table obtained export successfully.

MS-Access mess around Oracle data dictionary.

When you issue
SQL>select * from tab;

TNAME                          TABTYPE  CLUSTERID
------------------------------ ------- ----------
AMStates                       TABLE
Version                        TABLE
You will see the names of the tables. But when you try to DESCRIBE or SELECT this table, you will
SQL>desc Version
ERROR:
ORA-04043: object Version does not exist
You can even create another table with the same name in the schema
SQL>create table VERSION (X NUMBER);

Table created.
Why this is happening and how can I bring these items 'non-existent '?

Hello

Use

SQL > desc 'Version '.

Or

SQL > select * from 'Version '.

Or

SQL > drop table 'Version '.

To overcome the problems of mixed-case.

Tags: Database

Similar Questions

  • Two objects with the same name

    Hi all

    In my production database, there is a materialized view and a table with the same name. The two objects have the same number and type of columns.

    Record from user_object table

    OBJECT_NAMESUBOBJECT_NAMEOBJECT_IDDATA_OBJECT_IDOBJECT_TYPECREATEDLAST_DDL_TIMETIMESTAMPSTATUSTEMPORARYGENERATEDSECONDARYNAMESPACEEDITION_NAME
    TEST_OBJ151373151373TABLE22/06/201222/06/20122012-06 - 22:15:39:30VALIDNNN1
    TEST_OBJ152287MATERIALIZED VIEW22/06/201208/03/20122012-06 - 22:16:08:46VALIDNNN19

    I have another mode to normal display, TEST_NORMAL_VIEW, which selects the data of TEST_OBJ.

    Then, on which table data select. Please give some input on this subject.

    Kind regards

    Matondo

    A materialized view has 2 objects internally for her

    1. the materialized view (it is more of a model)

    2. the table that stores the actual data.

    So when you create a materialized view, you can see 2 objects created by querying the USER_OBJECTS.

    See this

    SQL> create materialized view my_test_mv as select * from emp;
    
    Materialized view created.
    
    SQL> select object_type, object_name, data_object_id from user_objects where object_name = 'MY_TEST_MV';
    
    OBJECT_TYPE        OBJECT_NAME          DATA_OBJECT_ID
    ------------------- -------------------- --------------
    TABLE              MY_TEST_MV                  1638964
    MATERIALIZED VIEW  MY_TEST_MV
    

    Now, you may notice that DATA_OBJECT_ID has null for the MV. DATA_OBJECT_ID is the Segment where the data is stored. As MV object is just a model and does not have data to null.

    The user has no direct access to the MY_TEST_MV table. See this

    SQL> drop table my_test_mv;
    drop table my_test_mv
               *
    ERROR at line 1:
    ORA-12083: must use DROP MATERIALIZED VIEW to drop "KARTHICK"."MY_TEST_MV"
    

    Also, you can associate an existing table to a materialized using the clause ON TABLE PREDEFINED view.

    Here is an example

    SQL> drop materialized view my_test_mv;
    
    Materialized view dropped.
    
    SQL> create table my_test_mv_new as select * from emp;
    
    Table created.
    
    SQL> select object_type, object_name, data_object_id from user_objects where object_name = 'MY_TEST_MV_NEW';
    
    OBJECT_TYPE         OBJECT_NAME          DATA_OBJECT_ID
    ------------------- -------------------- --------------
    TABLE               MY_TEST_MV_NEW              1638967
    
    SQL> create materialized view my_test_mv_new on prebuilt table as select * from emp;
    
    Materialized view created.
    
    SQL> select object_type, object_name, data_object_id from user_objects where object_name = 'MY_TEST_MV_NEW';
    
    OBJECT_TYPE         OBJECT_NAME          DATA_OBJECT_ID
    ------------------- -------------------- --------------
    TABLE               MY_TEST_MV_NEW              1638967
    MATERIALIZED VIEW   MY_TEST_MV_NEW
    
    SQL>
    

    Once you associate a Table with a MV direct Table access is limited. You can directly access only the MV.

  • Return of the mistake of MUSE: why do we not have several files with the same name?

    Well - I thought I had all this worked and fixed, but I met the download error 'Why do we have several files with the same name' once again.  (I downloaded all the files several times today in order to 1) works the way it worked the last time and 2) get an OAM file that is not loading for some reason any load again and the download takes about an hour to transfer all the files manually.

    To recap:

    (1) an option "Upload only modified files" returns the 'Muse has encountered an error and closes.  Why do we have several files with the same name? "error just as before.

    (2) a full download will work but takes forever and is NOT a substitution for work changed files option.

    Please advise with possible solutions!

    -Dave

    Is it possible to have two .oam different files in different folders on your computer where the .oam files have the same name? I'm theorizing that there may be a bug in the treatment to ensure the folder created for a .oam placed on the server receives a unique name, particularly in the case of a partial update of the site on the server.

    Please send us the .muse file and all the files in .oam related to [email protected] along with a link to this topic for the context so we can attempt to reproduce this error and isolate the root cause. If files are larger than 20 MB, you'll need to use a service such as Adobe send & Track, Dropbox, creative cloud, WeTransfer, etc. file sharing. Thank you.

  • How to create two employees with the same name as the vendor record?

    Hi all

    We must create a vendor for the employee record, so that we can issue pretty invoice for cash payment. If there are 2 employees with the same name, how can we create records of supplier for these 2 employees? The system does not have the name of the provider in duplicate.

    Please notify.

    Kind regards
    HY

    Hello

    In R12, it is possible to create 2 employee with the same name but with a different number.
    And it is also possible to create these 2 employees as suppliers in Payables.

    HTH,
    Vik

  • I have 2 bookmarks with the same name but different stuff in them. I want to remove one, but pass the contemts remaining bookmark

    I have 2 bookmarks with the same name but different stuff in them. I want to remove one, but pass the contemts remaining bookmark

    This is the first mention you made records. See this - https://support.mozilla.org/en-US/kb/Sorting%20bookmarks#w_rearranging-manually - and move individual bookmarks from one folder to the other folder. You may need to press the Alt key to display the Menu bar and the View menu item.

  • Recommendation req - how two database with the same name can exist on a single server

    Description of the problem: I have a database named 'aaa' (9i db) in production and we need a copy of it to create 'aaa' in the same server with the same name, but an 11g database.

    9i 'aaa' is an exixting database in an AIX 5.3 Server.
    You will need to create a copy of this database 11 g named 'aaa' on the same server. I use the utility exp and imp db, but not sure how far it is recommended to have the same db names in a single server. Not sure about listener etc. problems.

    Any suggestions on this would be appreciated!

    Create this database for a specific application, test and cut classes to prod.

    The goal is admirable.
    The proposed plan makes me shudder.
    V11.2 must be installed on system new/other, IMO; to reduce the risk of wrong operation on the basis of incorrect data.

  • Faces of Lightroom: Two people with the same name

    I downloaded Lightroom CC last night and came up with the following question:

    I have an uncle and a cousin of the same name... can Lightroom create two different 'people' or do I have to call each one differently? I guess this is the last but thought I'd ask in case there is an alternative solution.

    johnrellis body:

    You might have a keyword for each family group, for example, "John Ellis Family" and "Steve Ellis Family" and then place the keywords for each under these parents.  For example, under 'John Ellis family' you should 'John Ellis","Mary Ellis', 'Jane Ellis', etc.   And under "Steve Ellis Family", you might have "Steve Ellis", 'Kathryn Ellis' and 'John Ellis' (a different John Ellis).

    It's a good idea to work with hierarchies. But for the option to work, you will have two unique names.

    I just did a quick test.

    I have a few images of twins in my catalog, Tom and Boris.

    Under them, I created a 'name' Twin. Because of the hierarchy, I can apply Boris > Twin for a single image, Tom > twin to the other and both of them to a third photo.

    Drag a box around them name and I type "twin". The drop (AutoComplete) allows me to choose between two entries of identical research called "twin". No way of knowing that you choose. And you may have noticed that auto fill drop-down list starts with the entries that you have used recently. So not good to remember that the 'Twin' Summit will always be "Boris" for example.

    The number of keywords used is only up for one of them if I happen to use the same input twice.

    To do this (that I can tell right now), the only way is to drag the appropriate 'Twin' of the keywordlist on the right side of the opinion of people (O).

    I work with hierarchies, but make sure that I have unique names.

    In addition, I use spaces in the names, but rather JohnEllis, SteveEllis, etc.. In this way, if I have a very long list with members of Ellis and also a large number of people called John or Steve, it is easier refine the search to a particular person (as in smart collections).

    Open the properties for the key word, make sure that "include export" is NOT on, so you will not see this strange name to Number123JohnEllis research in your exported image.

    I have 'export containing keywords' and 'export synonyms' (and now with LR CC course "Person") checked. As a synonym, you can put 'John Ellis, John Ellis, Steve Ellis family' and all these will export.

    Hope it makes sense.

    As John suggests, if you already create the Ellis Family > Steve Ellis Family > John Ellis > John > Numer123JohnEllis then you must enter synonyms, as long as you have 'export containing keywords' on all of them checked, and 'include export' (with the exception of the Number123JohnEllis Word key which should not have 'include export' checked).

    Using hierarchies can really help you in your Keywords. But it will take time to implement.

  • Can I have two licenses on the same name?

    Hi all

    I have a computer with a license of cloud. Recently, I bought a second. I want to use Adobe Cloud on it also. Can I have two licenses for clouds on the same name? Are there other options like in front of two licenses? I'm Freelancer. The second computer is for my wife. We are working since hoeme. Are there options to two licenses of cloud?

    What is the best solution?

    Kind regards

    Sebastian

    Hi again,

    Yes, you are right. You must purchase a second license under the e-mail address of your wife as with an adobe ID, you can have only one creative cloud subscription.

    Thank you!

  • It is possible to have two teams in the same account cloud creatives?

    Hi guys, I need to know how can I set up another creative cloud for team in my account, this is because I need info payment diferent value from each team. Is it possible?

    Hello

    Well two different teams under the same account is possible, as long as their team name must be different.

    For other queries, you can Contact Customer Care - creative team cloud

    Hope that helps!

    Kind regards

    Sheena

  • Get the sizes of tables with the same name but from different schemas

    There are two patterns in my database: HAND and ARCH.
    Each of these schemas contains a table named SPOITEMS. I would like to get the size of the table "SPOITEMS" of patterns one and another.
    I found this script:

    Select
    nom_segment table_name,
    Sum (bytes) /(1024*1024) table_size_meg
    Of
    user_extents
    where
    segment_type = 'TABLE '.
    and
    nom_segment = "SPOITEMS".
    Table_name group

    but it returns only a single element with the name of the table "SPOITEMS" (owner ARCH).

    Any ideas?

    Thanks in advance

    I assume that you run the query in the ARK? Use ALL_EXTENTS or DBA_EXTENTS instead of USER_EXTENTS

  • I have two files of the same name in the same directory. If it can happen?

    I've attached a screenshot of this. This isn't a photoshop, I always have that. There are two folders named my videos in the same directory T. However when I look through the window run, typing T:\, it showed my videos and videos such as fall down in this directory...

    One of the record is fair 'videos' but configured (in desktop.ini) appears as "my videos."

  • Download error - why don't we have several files with the same name?

    Since the upgrade to 2015.1 a couple of days, I can't update my site using the feature "only changed files.  If I do I get this error, followed by the Muse stops completely.

    2016-02-12_16-23-38.png

    If I change the upload to 'all files and folders' everything is wonderful, even if it takes an hour to update the entire site rather than the usual 10 minutes.  Given that it will only grow of it is I hope it is on the radar of the Adobe + 400 current pages team.  What should I do?

    Well, I got the error to stop on my own.  I downloaded several times with a full scale 'all files' downloading and finally opened the site on my iMac to perform the update it.  Same configuration, the same file, even software - after uploading each file one last time on the other machine I can now do a upload "only changed files" to be.

    What the hell was that?

  • Renaming of files exe with the same name

    I have

    just installed a game on steam.  The package ended up being buggy, so it did not work.  But I found a solution on the Forum and he told me to rename these two files exe under the same name.  Its the only way to fix the game.  Others did and cela worked.  When I try to rename the file an error pops up telling me that I can't have two files with the same name.  In summary, this is what is happening.

    two files are: prince of persia.exe and princeofpersia_launcher.exe .

    Need to rename it to princeofpersia_launcher.exe to the prince of persia.exe

    An error pops up saying ERROR RENAME FILE or FOLDER: cannot rename princeofpersia_launcher: a file with the specified name already exists.  Specify a different file name.

    The problem is that these two exe files MUST have the name of prince of Persia: work.  Is it possible that I could do?

    It is not possible to have two files with the same name in the same folder.  Something is wrong with the instructions that you try to follow.  What do say exactly?  Can you give us a link for them?
    Boulder computer Maven
    Most Microsoft Valuable Professional

  • Files and folders with the same name

    I am trying to unzip some files and folders and it works fine on my computer with Windows XP. However, when you use Windows Vista I can't because there are folders and files with the same name. After an internet search, it seems that the only suggestion is to extract the files in separate folders which then would allow them to keep the same name. The problem is I want what they in the same folder and they need to have the names they have.

    NOTE: I do have two files with the same name in the same folder, I have a folder and a file with the same name. I would have thought that this would be acceptable because they are two things separate, and given that it's great under XP.

    All solutions?

    You are right, if I make a file and a text file with the same name, it works fine. However, when I try to extract the files I need it tells me that there is already a file with the same name as the folder. He goes to tell me to choose a new name but my only options are 'try again', 'jump' or 'Cancel '.

    I think I can understand what the problem is. For some reason when you download the zip file, the computer seems to have added a few files side with any format other than "file." It is those who have the same name as the folders as if they were, and they could not be uncompressed because of this. I have no idea whence they came as they appear from nowhere (compared to my XP). I'm trying now unzip the files separately and exclude the strange s 'file '.

    Thanks for your help though!

  • Several files with the same name.

    Cannot publish to Business Catalyst because of a fatal error, where it is said "why do we have several files with the same name?  The website and all its contents have not changed in more than a year with the exception of minor changes to the wording so unable to understand what the error is encountered. Are there not better misdiagnosed at one point less for the files in question.

    The problem is the result of a mixture of case-sensitive and case-insensitive between how files within the .oam are put into interaction with and what is written in the muse_manifest.xml file during a re - download full compared to an incremental download.

    If all .oam packages files are tiny and the original .oam were replaced in Muse with the all new tiny .oams, then you should select Upload: publish all the files in the dialog box Options. From there, forward publication of incremental changes should work without errors.

Maybe you are looking for

  • After downloading firefox to a new computer and using sync I have more no navigation bar or menu button.

    It is on a windows computer to work. It really happened on 2 new computers. Before synchronizing, the navigation bar and the menu button were there. After the sync - Gone! I tried to uninstall firefox and then put it back, but when I reinstall, the p

  • Capacitor charge and discharge

    Hey! I have a mission to do a simulation on load and uncharging of an RC circuit. I have already created a VI on the search for the value of Vc (voltage of the capacitor) by the formula Vc = V * (1-e ^(-t/R*C)). I put that in a while loop and I wante

  • New desktop using Aspire with Windows 10

    I bought my desktop computer to replace an older XP.  I couldn't load the latest version of the MS Office software on it, and needed to migrate to that, if I could help my spouse who IS using it.  I have a laptop running Windows 7, which I became qui

  • Where is the product key of Windows XP?

    Can you help me to find the Windows XP mode product key?

  • Dell V515W print head problem

    My printer has stopped working.  "I'm getting a ' there is a problem with the printhead" error.  I've cleaned and deep cleaned the print head.  Just before it began, my pages were all blue print.  Now, I can't clean clean/deep/align or anything becau