Name of the table list ALL_TABLES but not in TABS

Hello

I was trying to programatically check if a table is exist or not and insert the records if exist (via Java). I see a weired behaviour where when I check the metadata through my connection, I see this table_name in it (don't think there is an error in the logic), but when I try to insert a record after that, he lifts - java.sql.SQLException: ORA-00942: table or view does not exist.

When I manually check the DB, I see this table to table ALL_TABLES but not in TABS (not sure what is the same difference between those two, and that is the right place to check), desc < table_name > is also a failure...

I'm really confused if the table is exist or not...

Any help is really appreciated.

Thank you
Rajiv

SHOW USER
Select owner, table_name from ALL_TABLES where table_name = 'PROPDB_VIEW_MAP ';

probably, 'you' (USER) are not the owner of this table

Tags: Database

Similar Questions

  • Can you check data in a table or another, but not both in a single query?

    I have a situation where I need to connect the two tables, but the data can be in another table (archive) or different records are in both but I want the last disk in two tables:

    ACCOUNT

    AccountID name

    John Doe 123

    Jane 124 Donaldson

    125 Harold Douglas

    MARKETER_ACCOUNT

    AccountID key Marketer StartDate EndDate

    1001 123 10526 8/3/2008 9/27/2009

    1017 123 10987 9/28 / 2009 12/31/4712 (high date ~ that means currently with this Distributor)

    1023 124 10541 03/12/2010 12/31/4712

    ARCHIVES

    AccountID key Marketer StartDate EndDate

    1015 124 10526 8/3/2008 12/02/2010

    1033 125 10987 01/01/2011 01/31/2012

    If my query should return the following:

    123 John Doe 10526 8/3/2008 9/27/2009

    Jane Donaldson 10541 12/03/2010 31/12/124 4712 (that is the later of the two folders for this account between tables Archives and marketer_account)

    125 Harold Douglas 10987 01/01/2011 01/31/2012 (it is in the archives, so get this recording)

    I'm not sure how to do this in a single query.  Beware, I am possibly reading several accounts at once and return to a .net collection

    Open CURSOR_ACCT

    Select the account ID

    Of

    ACCOUNT A,

    MARKETER_ACCOUNT M.

    R OF THE ARCHIVES

    where A.AccountID = nvl ((select max (M.EndDate) of Marketer_account M2

    where M2. AccountID is A.AccountID),

    (select max (R.EndDate) in Archive R2

    where R2. AccountID = A.AccountID)

    and upper (B.SID) as a parameter. '%'

    < can you do a NVL like that?   probably not...   I want to be able to get the MAX registration for this account on the table of MarketerACcount OR recording max for this account to off the table to Archive, but not the two >

    (setting could be 'DO', so I return all names beginning with...)

    Hello

    So, you have a few lines in marketer_account and the other rows in the archives, but you do not want to treat all lines, as if it were a table, is it?

    This sounds like a job for the UNION:

    WITH union_data AS

    (

    SELECT StartDate, EndDate, Marketer, AccountID

    OF marketer_account

    UNION ALL

    SELECT StartDate, EndDate, Marketer, AccountID

    To archive

    )

    got_MaxEndDate AS

    (

    SELECT StartDate, EndDate, Marketer, AccountID

    MAX (EndDate) ON (AccountID PARTITION) AS MaxEndDate

    Of union_data

    )

    SELECT a.AccountID, B.SID

    m.Marketer, m.StartDate, m.EndDate

    One ACCOUNT

    JOIN got_MaxEndDate m ON m.AccoutnID = a.AccoundID

    WHERE m.EndDate = m.MaxEndDate

    ;

    I hope that answers your question.
    If this is not the case, after a CREATE TABLE and INSERT statements for your sample data.
    Report when the above query is the production of incorrect results and explain, using specific examples, how to get results in these places.
    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002#9362002

    .

    Starting with version 8, the maximum year in DATEs Oracle is 9999, not 4712.

  • When you send an Email to someone not in my contact list "Check names" appears and says not in the contacts list, and are not sent.

    original title: sending Emails

    When you send an Email to someone not in my contact list "Check names" appears and says not in the contacts list, and are not sent.

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    If you use a POP3 Protocol account, please post on the forum network, e-mail and put online:

    http://social.answers.Microsoft.com/forums/en-us/vistanetworking/threads

    If you use Hotmail, please report it to Windows Live Solution Center, son of Hotmail:
    http://www.windowslivehelp.com/forums.aspx?ProductID=1 . for the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Open a new file in photoshopcc and the name of the file is displayed but no Web white work. You can see it as a layer in the layers panel and if I pull on the grey area I see int on the layer, but not on the main screen.

    Open a new file in photoshop cc and the name of the file is displayed but no Web white work. You can see it as a layer in the layers panel and if I pull on the grey area I see int on the layer, but not on the main screen.

    Nice day!

    Could you please post a screenshot with the relevant panels visible?

    Not turning off"use graphics processor" in the Performance preference and restarting Photoshop have a bearing on the issue.

    Kind regards

    Pfaffenbichler

  • Using the name of the table to Insert variable

    Hello

    I'm trying to use a variable as the name of table to do an insert.

    The name of the table where my datas have to be inserted is EVV_ + the Ref_var of data.

    My code will be more explicit:

    SELECT 'EVV_ ' | Ref_Equip

    IN v_Ref_Equip

    OF user.c_equip

    WHERE clef_equip = v_clef_equip;

    INSERT INTO 'user '. || v_Ref_Equip (Clef_var, Date1, value)

    VALUES (v_clef_var, 18 May 01 ', 49, 156');

    I can't find the proper syntax for inclusion in. I tried a lot of syntax, but not good.

    So, how can I concatenate 'user.' + my v_Ref_Equip variable?

    Thanks for the help

    Have a look at this immediate execution method

    SQL> set serveroutput on;
    SQL> declare
      2  v_tab_name varchar2(20) := 'temp';
      3  begin
      4      execute immediate 'create table temp(id number)';
      5      execute immediate 'insert into '||v_tab_name||' values (1)';
      6      commit;
      7  end;
      8  /
    
    PL/SQL procedure successfully completed.
    
    SQL> select * from temp;
    
            ID
    ----------
             1
    
    SQL>
    
  • Concatenation of the name of the table in the Insert query

    Greetings,

    Oracle Version - Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64 bit Production


    I want to write a procedure in which we give the name of the table in the Insert at runtime through cursor


    But the problem is

    insert into tra_temp

    Select * tra_smi23 of

    in statement above 23 must be dynamic like tra_smi | 23


    Here is my code, but something is not

    Kindly help


    create or replace procedure as

    cursor c1 is

    Select op_ID, operators OP_NAME where OP_NAME like '% TRA '.

    and OP_ID <>9;

    Start

    run immediately 'truncate table tra_temp;

    for rec in c1

    loop

    insert into tra_temp

    Select * from tra_SMI | ' recomm. OP_ID';

    commit;

    When exit c1% notfound;

    end;

    Hello

    Then you must change the insert statement for: run immediately ' insert into tra_temp select * from tra_SMI'| recomm. OP_ID;

    Concerning

    Mr. Mahir Quluzade

  • How to get the name of the table/type using the value()?

    CREATE or REPLACE TYPE person_ty
    as an object
    (
    'id' VARCHAR2 (4).
    fname VARCHAR2 (15).
    lname VARCHAR2 (15)
    ) NOT FINAL;
    /
    CREATE or REPLACE TYPE student_ty
    Under the person_ty();
    /
    create the table person_ty all_users;
    /
    CREATE TABLE student OF student_ty;
    /
    INSERT INTO student
    VALUES (1002, 'Joshua', 'David');
    /
    VIEW to CREATE or REPLACE person_ty Person_v
    WITH OBJECT OID ('id')
    AS SELECT * from all_users;
    /
    VIEW to CREATE or REPLACE student_ty UNDER Person_v Student_v
    AS
    SELECT *.
    OF the student;
    /
    SELECT VALUE (p) person_v p;
    /
    OUTPUT
    TESTDB2. STUDENT_TY(1002,Joshua,David)

    How to get 'student_ty' instead of the' TESTDB2. STUDENT_TY(1002,Joshua,David) ".
    I would like to know belongs it to which table the particular line. Yes... It's the idea of value(). but I need only the name of the table or the type name. How can I do?

    If you want to select type name, right? Then use:

    select anydata.GetTypeName(anydata.convertobject(VALUE(p))) typename FROM person_v p
    /
    
    TYPENAME
    -----------------
    SYS.STUDENT_TY
    
    SQL> 
    

    SY.

  • What is the name of the table that stores the APEX User Group

    Hello

    -J' created 2 users (user1, user2) APEX [Developer = NO & admin = NO]
    -also created 2 user group, say Admin & General

    and then have assigned User1 to the Admin group
    and user2 in the general group.

    I am able to find the list of the users of APEX_WORKSPACE_APEX_USERS, but the groups aren't there.
    How to check for groups of users whose individual end-user belongs to... I mean the name of the TABLE...

    Thank you
    Deepak

    Hello

    I missed the post read first
    Point of view is WWV_FLOW_GROUP_USERS

    BR, jari

    Published by: jarola on January 14, 2010 12:47 AM

    Published by: jarola on January 14, 2010 12:48 AM

  • Exported to Oracle - MS Access tables Tables are there but not queryable?

    Access tables exported to Oracle via ODBC. The tables are there, but when I query them, I get:

    ERROR on line 1:
    ORA-00942: table or view does not exist

    -----

    SQL > user sho
    The USER is "USCG".

    SQL > select table_name from user_tables where table_name like 'org % ';

    TABLE-NAME
    ------------------------------
    org_

    SQL > select count (*) in the org_;
    Select count (*) in org_
    *
    ERROR on line 1:
    ORA-00942: table or view does not exist


    SQL > select count (*) in the uscg.org_;
    Select count (*) in uscg.org_
    *
    ERROR on line 1:
    ORA-00942: table or view does not exist


    SQL > connect system
    Enter password: *.
    Connected.
    SQL > select count (*) in the uscg.org_;
    Select count (*) in uscg.org_
    *
    ERROR on line 1:
    ORA-00942: table or view does not exist

    What I'm missing here?

    Thank you

    The problem is that you have created the table like this:

     create table "table_name" . . .;
    

    Instead of

     create table table_name . . .;
    

    Now, you need to reference the table using the character (""), but it is not recommended.
    Try to rename:
    {code} alter table 'table_name' Rename to table_name; {code}

    HTH

    Enrique.

    Published by: Enrique Orbegozo on October 29, 2008 15:21

  • Name of the table from DBA_EXTENTS

    Hi Experts,

    Can you please help me how to find the name of table to dba_extents.

    To be very clear on this point, if any block has been corrupted and we want to know what is the table or any other object resides on that block for that we move the object.

    I saw that in metalink long back about the name of the table from the block id dba_extents now am unable to get it again.

    I know that you guys will be experienced on that. So I need you guys help on that.

    Kind regards
    Siraj.

    A data file contains several extensions. A measure is made up of several blocks. It would be silly to Oracle to keep a register in dba_extents/dba_free_space for each block. A line from dba_extents/dba_free_space represents a group of blocks from BLOCK_ID and extending to BLOCK_ID + BLOCKS-1. (The line also follows the number of blocks (column) to the extent because you can have different sizes in a tablespace extensions - for example if the allocation is MANUAL or AUTOALLOCATE).

    That's why, for example,
    If a data file of 1000 blocks consists of two degrees and a free space (representing, say, a table that has been created but has been abandoned) it could be
    file 25: measure 1: used for table A: from block 64, or 8 blocks (8 KB): FILE_ID = 25, BLOCK_ID = 64 BLOCKS = 8
    file 25: measure 2: OPEN SPACE: from block 72, 896 blocks (8 KB each):-would be seen in DBA_FREE_SPACE, not in DBA_EXTENTS.
    file 25: measure 3: used for table B: from 968 to 32 blocks block (8 KB each): FILE_ID = 25, BLOCK_ID = 968, BLOCKS = 32

    So, say, block number 102 in this data file (25) is actually in the OPEN SPACE and will not appear in a query DBA_EXTENTS
    However, say, block 980 is corrupt. It seems able to 3 when you query for 980 between 968 and 968 + 32 - 1

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • Impossible to change the name of the Table in figures

    I'm unable to change the title of a table, when I change the title name and press on enter it reverts to the original title. I tried to click away and save the document, but both go back to the original title. The only way to work is, it seems if the option a table a few times then start trying a new title.

    This can happen when you have a table with the same name on the same sheet.  Numbers of refuses to accept the name "double".  Check the names of the tables on the al sheet again.  One way to do that is to click the right part of the tab "" at the top with the sheet and inspect the table names in the drop-down menu that appears.

    SG

  • Help! I did a movie with pictures on Movie Maker, played very well. Now, it's just to show Xs red in the photos of some, but not all. What I am doing wrong?

    I did a movie with pictures on Movie Maker and played very well.  Now, it's just to show Xs red in the photos of some, but not all.  What I am doing wrong?

    When you save your project, and then rename, move or delete a photo next time you open your project, you will see a red X where the photo was. Just a click with the right button on the X and select Remove then import your photo again under the new name or location and click on save project on the file menu.

    In the menu task under finished film click Save to my computer tracking instructions and your project will be saved as a movie.

  • name of the table in the EM repository to return the State of the database

    Hi, I would like to know the name of the table in MS repository on which I can query for the status of the database. I've tired to search in the target of $ mgmt and did not find the status of the db

    Please take a look at the AVAILABILITY_CURRENT view of $ MGMT.

    http://docs.Oracle.com/CD/E24628_01/doc.121/e57277/ch19_monview.htm#EMVWS12346

    Kind regards

    -Loc

  • SQL how to use a variable and use the result as a reference for the name of the table

    Hi all

    I have new in the declaration of Oracle, sorry in advance if something is easy for you all. BTW, I have this scenario:

    I have a table OL structured in this way:

    Date - it contains dates, for example 11/01/2015

    TableName - it contains strings, for example, OL1, OL2, OL3 and so on...

    Then I have a different table, the name of these tables are of the same name in the table of the OL, so I have table table, OL1, OL2, OL3 table and so on. The structure of these tables is the same. And Yes.

    table OL1

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

    ID LAST NAME FIRST NAME PHONE

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

    1 JOHN DOE 12345679

    2 PAUL 111111122 TIBBS

    table OL2

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

    ID LAST NAME FIRST NAME PHONE

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

    1 ANNA KRAIG (NULL)

    NATHAN FRESHMANN 111111133 2

    If the scenario is clear, I would like to retrieve the value (null), research in all the OL * tables by using the value of the OL table (tablename) max.

    If I'm going to do these simple steps, I got the result:

    Select max (TableName) OL

    the result will be OL2

    # I know not how to use the option set to avoid changing the table name in the sql statement all the time.

    set mytable = 'OL2.

    Select Name, family name

    of & mytable

    When the phone is null

    Any idea?

    Thank you very much in advance.

    Hello

    run immediately "select dt.log_id, obj.presentation_name, dl.begin_time

    bulk collect into v_result_set

    of ' | v_ol |' dt join internal ol_object obj on

    DT.object_type_id = obj.object_type_id

    inner join ol_chunk_log dl on

    DT.log_id = DL.log_id

    where dt.data_value is null';

    dbms_output.put_line (v_ol);

    end;

    Correct the code such as:

    run immediately "select dt.log_id, obj.presentation_name, dl.begin_time

    of ' | v_ol |' dt join internal ol_object obj on

    DT.object_type_id = obj.object_type_id

    inner join ol_chunk_log dl on

    DT.log_id = DL.log_id

    where dt.data_value is null' bulk collect into v_result_set;


    for i in v_result_set.first ... v_result_set. Last

    loop

    dbms_output.put_line ('LOG ID: ' | ) ( v_result_set.log_id (i)) ;

    dbms_output.put_line (' NAME CLOSELY: ' |) v_result_set.presentation_name (i));

    dbms_output.put_line (' START TIME: ' |) ( v_result_set.begin_time (i)) ;

    end loop;

    end;

    Kind regards.

  • Look for the name of the table of choice in stock or manufacturing


    What is the name of the table in the inventory which is used to store information in list of choice?

    To make my question clear, here are the steps:

    (1) connect to Oracle EBS (R12) with responsibility for the inventory.

    2) go to settings

    (3) go in the research - you see the screen named "manufacturing research."

    4) click on your flashlight to select the value for the Type.

    (5) for example, select MTL_CONVERSION_TYPE - you'll see the Code values and columns meaning listed below:

    Meaning of the code

    1 specific item

    2 standard

    3 standard and specific item

    Question:

    What is the name of the table that contains the values above?

    Hello

    I finally found the name of the table. The name is "FND_LOOKUP_VALUES".

    Thank you

Maybe you are looking for

  • Satellite T135-S1309 - audio driver for Windows XP

    I have a Satellite T135-S1309 and I can't find the audio driver for windows XP in toshiba Web site or on the internet. Please if anyone can help me I will be grateful.

  • Scanjet G4010: scanjet G4010 biased image

    We've had this scanner for a number of years now with no problems.  However, these days, the scanner started producing biased intermittently from the scanned images.  How this can be solved?

  • PlayFirst games, Diner Dash does not.

    My games of Playfirst, Diner Dash do not work. They just stop. The message says that windows has a problem and will try to fix it, but they don't always work.

  • Hotmail account blocked

    I have my Hotmail account that has been blocked since July 18, 2001, because he was hacked and used to send spam. When I found it blocked I asked to change the password I have fact but and when I tried to sighn again once he asked me to change my pas

  • can labview call a test module

    Problems with a test dll that works in testing, but I get an error when you try to use the Assistant in labview, however I can use the protypye call library function node there.  Problem - the openComserialPort function (char * comPort, ErrStruct & e